Error establishing a database connection
-
Hello there,
There’s this website that I am managing and every time I get the Error establishing a database connection and also error 503 it is frustrating.
And the hosting told me yesterday that it is a WordPress code error
I have tried everything possible but it is still repeating the same problem and most time it gets too often despite using litespeed plugin on the website
How can I be able to solve this problem once?
I will deeply appreciate whatever help in resolving this issue. Many thanks in advance.
Here is the error message
Error establishing a database connection
This either means that the username and password information in your
wp-config.php
file is incorrect or that contact with the database server atlocalhost:3306
could not be established. This could mean your host’s database server is down.- Are you sure you have the correct username and password?
- Are you sure you have typed the correct hostname?
- Are you sure the database server is running?
If you are unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress support forums.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.