Fix local database configuration