simplify server config. run access grant after each db