Error Establishing Database Connection WordPress

Share this page with

How to Fix Error Establishing Database Connection WordPress. This error usually happens when you try to access a WordPress website. The most common fix is to repair the wp-config file, because the username and password are not matched with the database. So the wp-config file needs to be repaired. You can do this from an FTP client, or from the hosting Application or control panel.

In this example i’am using a free hosting service, so i need the file upload details (Host server. Username, and password), then from the wp-config file, the database name, the database username and password must match with the website database. That you find from your hosting service.

You can do the same thing accessing the file manager from the hosting service control panel. Edit those fields (database name, database username and password) and then refresh your website.

Watch: Latest Posts    Subscribe: Newsletter

Fix Error Establishing Database Connection WordPress


Find a Top level Domain for your Website

I must say that there is no such thing as free Top-level Domain, for example .com .net .us etc. Because Top Level Domain (TLD) is not free because they are the highest level in the hierarchical Internet Domain Name System.

So, if you’re looking for without paying a dime, forget it, there is no such thing. The only way to have a free TLD is creating a subdomain in a Hosting Service, that is, .

Therefor, if you need a website to rank higher in the list of search results on, you need a Professional Hosting Service With:

Unlimited Domains,
Transfer & Space,
1 click WordPress Install,
Free Site Builders,
Great 24/7 Support
30 day money-back guaranty

Bluehost is the Hosting Service that i can suggest, as a client i know and understand why Bluehost is powering over 2 million websites worldwide.

So, go ahead and try for 30 days money-back guaranty. Select your plan:Basic, Plus, Prime or Pro and grab your professional hosting service.


Fix Error Establishing Database Connection WordPress