"Error establishing a database connection" message

This error may be displayed on your WordPress site when there is an issue connecting to the MySQL database on the server.

If your website has previously been working, it may be a temporary fault that is occuring on the server that you are on, it may be worthwhile to check the Network Status Page.  Please try again in a few moments.

If the issue persists, please check the `wp-config.php` database variables to ensure they are correct, as well as the MySQL permissions for the database user you are using.

Otherwise, if you're still stuck please contact our support team who should be able to point you in the right direction.

  • 185 Users Found This Useful
Was this answer helpful?

Related Articles

What database settings do I use for scripts?

Server Hostname: localhost Database Username: <your username>_<database name> e.g....

How do I add a wildcard subdomain for Wordpress MU?

This can be easily done by logging into your cPanel control panel and clicking on "Subdomains"....

Do you support Silverstripe Hosting?

Yes, we run Linux servers designed to run the New Zealand developed Silverstripe application. If...

Strict Standards Errors for PHP

If you are getting errors similar to:Strict Standards: Non-static method JLoader::import() should...

Fix permissions of all directories and files

To change all the directories to 755 (-rwxr-xr-x): find /home/xxx/public_html -type d -exec...