added default param localhost as it is currently not supports remote dbs.