updating db config to mysql