fixing database config for server