Correctly match the database config.