change database config.