Evidently this is a not-wildly-uncommon error that WordPress gets. Something happens to disturb the userid/password/host database connection, and suddenly (the downside to a fully dynamic system) there is no blog.
That this came up first thing in the morning for me was a bit embarrassing. Fortunately, I was exchanging messages (on a completely different matter) with Stacy, and she was able to poke into it. I tried all the standard stuff [1], including creating a new database id and password and updating the wp-config.php file … but it had no effect. Stacy did it, though, and it worked perfectly, which is why I’m no longer in tech support.
So back up and ready to rock, huzzah.
2,279 view(s)
7 Comments To "Nobody expects the “Error establishing a database connection” message!"
#1 Comment By Artillery_MKV On Wed 18-Feb-09 2:44pm @ 2:44pm
Put it in . . . .The Comfy Chair!!!
Are you even really trying? *sigh*
Sorry, your Eminence . . .
Monty Python references FTW!
#2 Pingback By bengalazure » WordPress and the ever unfortunate “Error Establishing a Connection to the Database” On Thu 19-Feb-09 5:30pm @ 5:30pm
[…] Google Machine. After 10 minutes of trying various search terms, I came across another WordPress user who had this problem a few days ago. It seems WordPress randomly gets tired of using the same […]
#3 Comment By Mike On Thu 19-Feb-09 5:33pm @ 5:33pm
Thanks for the fix! I’m glad I wasn’t the only one wondering where my database went.
#4 Comment By ***Dave On Thu 19-Feb-09 5:55pm @ 5:55pm
Wow. Not even a full week on WordPress and suddenly I’m a tech support expert. 🙂
#5 Comment By Joseph On Mon 17-Jan-11 3:45pm @ 3:45pm
Glad you’re out of the biz dave. . .although you’d fit right in with the newb techies in my company! hahaha
#6 Comment By ***Dave On Mon 17-Jan-11 5:15pm @ 5:15pm
Nah. I’d much rather supervise the newb techs. And the senior techs. And their bosses. But thanks for playing.
#7 Pingback By Wordpress “Error Establishing a Database Connection” | /dev/null On Mon 24-Jan-11 12:33pm @ 12:33pm
[…] official answer is generally, “your login information is wrong“. There is a slew of other postings with proposed / suggested fixes. I tried most of them, but none seemed to […]