move db config above server config so it happens first