“Error Establishing a Database Connection” — How to Fix This WordPress Error
“Error Establishing a Database Connection” — How to Fix This WordPress Error: Part 1 of 2
“Error Establishing a Database Connection” — How to Fix This WordPress Error: Part 2 of 2

i was in very tension for this problem ,but your blog solve my problem,
thanx.
hey – thanks so much for posting this really helpful tutorial!
YOU are the BEST! Thank you so much! I was lost until I saw this. Thank you so very much!
I’m getting this error, but only intermittently. (Enough to drive me out of my mind.) The host says their servers are running fine. The site loads slowly (offsite friends confirm this) and the WP dashboard is almost impossible to access. I’ve followed your videos (which are excellent) and the problem does not lie here. Any ideas?
I thought this was a well explained guide for the exact problem I’m having. Sadly, it did not resolve the problem… No idea where to go from here.
Thank you for this video! It saved me hours of troubleshooting. I didn’t know where I had to go to fix the connection to the database after I changed the password.
Thanks for the video #2 on “Error Establishing a Database Connection,” specifically the part on changing database users. One of my sites suddenly defaulted back to the original wp settings with ZERO content and without any determined cause! I tried to restore the site, database, and a host of other things and after days of work, the support group said I should just rebuild the entire thing. Scary!
I looked at MySQL database and it had the original content but was not populating it to the site. In looking for solutions online, I ran into your video. I sure wish it was the first thing I looked at! I used your steps to add a new user to the database, deleted the old, and VOILA everything is back.
I am bookmarking your site and coming here for my next troubleshooting adventure!
I just need to thank you for giving me the idea for a solution! It saved the hack out of my nerves
In my case, I tried to rename the database, saw that it was showing an error and then I renamed it again to the old name, and got the error again. Somewhere in that process I lost user of the database. In wp-config it was all that it’s suppose to be.
I just started to watch your video and it hit me. I went to C-panel and saw that my database had 0 users, and added the user that was suppose to be there.
Thank you for posting!