"Error establishing a database connection" on websites using mysql database
Posted on 2013-01-10
All wordpress sites on my server were working fine until I received an email from google saying that it's bots couldn't crawl one or two of the site. (that a owner didn't pick the issue up first is amazing, but anyway...)
When I try to access a site there is a message "Error establishing a database connection".
On the server, when I try to use phpMyAdmin to see what is going on there is a error connecting to localhost.
After much stuffing about, I can now log into PMA, can see the databases and their data, can see the user accounts that each site should be connecting with yet still have the aforementioned error.
How can I fix this?
Windows Server 2008 R2 Standard (IIS 7.5)