Change database config.