write correct db user/pass to config file