"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.  Please try again in a few moments.
If the issue persists, please contact our support team for an update on when the issue will be resolved.

Otherwise, if you are setting up your website for the first time, 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.

  • 90 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...