fixing config database for server