add support of default passwd and db to make sense with retry process.