Make the database config host-aware.