Added mode,ip,dbname in prefix