restore database.php and check in various config files.