Fatal error after switching back to old database

I just moved to a new database but then tried to switch back to the old one by editing the settings.php file and entering details od the old database. These details are 100% correct. But I'm getting a fatal error. This is for a client who is on shared hosting with godaddy. Even though i have enabled logs, there are no error logs being produced so no go there.

When switching back to an old database, is there anything to do besides editing settings.php?

  • What is the exact error you're seeing?

  • Im getting the generic error:

    An unrecoverable error has occurred and has been logged. Contact the site administrator with the following information: 

    Exception #1361900902.

     

    Finally a log has turned up (why do errors not instantly appear in log files? Thats a question for godaddy! I use hours cos of that) with a useful error saying there is a problem connecting to database. It's saying the hostname is wrong. I'll keep plugging away, i've probably got someting small wrong.