In this post I will discuss about Error establishing a database connection error in WordPress blog and steps on how to fix it. Although, this error can occur due to various reasons I will discuss two troubleshooting steps which have helped me to fix this error.
Step-1: Fix the error by repairing database from cPanel: You can read one of my posts on how to repair database from cPanel. For me, sometimes this has fixed the Error establishing a database connection error. If this didn’t work for you continue to Step-2.
Step-2: Fix the error by restarting MySQL service: If you have access to Parallels Virtuozzo Power Panel, you can fix Error establishing a database connection error in WordPress blog by restarting the MySQL service. Usually, with a VPS you will get a Virtuozzo Power Panel.
Login to your Virtuozzo Power panel. Click on “System Services” under “Services”.
Check if MySQL service is stopped or running. For Example, here MySQL service is stopped. Now, click on MySQL service.
Then, on the next page click on “Start Service” button.
This will start the MySQL service again and you will see that its running.
Even if the MySQL service was running in the first place, you can go ahead and click on the button “Restart service” to restart the MySQL service.
This will fix the Error establishing a database connection error in your WordPress blog.
Step-3: If the error still persists, you can contact your web hosting support to fix the error.
Thats Journal is proudly powered by Genesis Framework. Genesis is state of the art WordPress Framework to create powerful, robust, secure and SEO friendly websites.
Latest posts by admin (see all)
- Top 5 Political Campaign, Election, Politician HTML5 Templates - April 23, 2017
- Top 3 Crowdfunding, Crowdsourcing website HTML5 Templates - April 22, 2017
- Top 5 Charity, NGO, Donation, Fundraising HTML5 Templates - April 21, 2017