Hi All,
I got this error ‘Error establishing database connection’ when I tried to upgrade my WordPress to version 3.1.
I did the following:
1. My webpage for blog: http://www.your_domain_name.com/blog/
2. The server was hosted by GoDaddy
3. I logged into GoDaddy
4. Navigated to My Account >> Web Hosting
5. Clicked the button LAUNCH for the website domain
6. That will open a new window Hosting Control Center
7. Clicked on Databases >> MySQL
8. Clicked ‘Manage via phpMyAdmin’ for the actual wordpress database name
9. That should open a new browser. Enter the login details.
10. In the table wp_options, I removed the contents for active_plugins and edited the contents of recently_edited.
Basically, for recently_edited, I removed everything except the one related to my theme twentyten.
Bingo….!!!! My blog started working.
Hope this helps