When I acces my WordPress site I get the error: Error establishing a database connection. What can I do ?
Frequently Asked Questions • Applications | wordpress | database | errorDiscover why when accessing your WordPress site you get the error: Error establishing a database connection, and what should you do in this sittuation.
1
This error message tells us that the WordPress application cannot connect to the database server. This error may have multiple causes.
The most common cause is the wrong login data in the wp-config.php file. For resolving, we will make sure that the data in the following fields are correct:
define('DB_NAME', 'Database name');
define('DB_USER', 'Database user');
define('DB_PASSWORD', 'User password');
define('DB_HOST', 'localhost');
This data must be the same as those set in the control panel.
Another cause of this error message is the depletion of the resources allocated to the hosting package. To resolve this, you will need to optimize your WordPress application and/or think about a higher hosting package.
Similar Articles
4
What is the difference between Hosting, Domain and Website?Frequently Asked Questions • General | domain | hosting | nameservers | website
Three different but related elements. There is often a confusion, so it is important to know the difference between them, in order to be able to carry out the online activity as efficiently as possible.
by Mihai BobriucViews 3433Updated 1 yearPublished 17/07/2018
How can we solve the white page error when accessing the Prestashop administration?Frequently Asked Questions • Applications | prestashop | white screen | white page
In this article we will explain how you can solve the white page error when accessing the Prestashop administration
by Mihai BobriucViews 1400Updated 1 yearPublished 18/08/2022
I paid for the transfer of a domain, why is the status 'pending'?Frequently Asked Questions • Domains | domain | transfer | period
Find out if transferring a domain is an instant procedure.
by Mihai BobriucViews 1125Updated 1 yearPublished 22/08/2018
When accessing the site I get 500 Internal Server Error, white page or PHP errors. How can I find out details about the problem?Frequently Asked Questions • Tehnic | 500 | error | internal server
Known error 500. For many users it presents a major problem. In this article you will find all the information you need.
by Mihai BobriucViews 1124Updated 1 yearPublished 18/08/2022
My site is loading slowly. Why?Frequently Asked Questions • General | site | load | speed
Find out why your website is loading slowly!
by Ana RednicViews 1078Updated 2 yearsPublished 25/10/2018