Error establishing a database connection
-
Hi there.
My site went down unexpectedly at some point between 4pm-7pm yesterday, and I’m unable to access it either via the public (where it’ll state “Error establishing a database connection”), or behind-the-scenes via the WordPress dashboard. There it shows the following message.
“Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?”I’ve logged into the cPanel via my host, which is Parallels Plesk Panel. Via the File Manager section and going into the root folder/path, I’m not able to locate the wp-config.php file at all, and in saying that I’m also struggling to find any other wp related files. However, upon reading this article, I’m hoping this is nothing major: https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-error-establishing-a-database-connection-in-wordpress
Upon speaking with my hosts on their 24/7 support line, they stated trying to restart the server. They advised me that doing that would see 10-20 minutes downtime typically, but shouldn’t make any adjustments to any files stored on there.
I’m not very tech savvy with all of this, so any help with minimal jargon would be HUGELY appreciated. Obviously I want to get things up and running again as soon as possible.
Website: https://www.deadpress.co.uk
- The topic ‘Error establishing a database connection’ is closed to new replies.