Fix database config in base