[server][DBClientConfig] Use a defined type to improve readablity and flexibility.