fixing database config for mysql