db config for server