Quantcast
Viewing all articles
Browse latest Browse all 39343

Tara on "Error establishing a database connection"

If you get a page featuring the message "Error Establishing Database Connection," this means that there is a problem with the connection to your database and there could be a number of reasons for this. The following are possible reasons and solutions.

"Error establishing a database connection" is usually caused by an error in your wp-config.php file. Access your site in your FTP client. Open up wp-config.php and double check that the following are correct:
■ Database name
■ Database username
■ Database password
■ Database host

Then check that you don't need to change the database host from "localhost" to something else. You can get that info from your hosting provider.

Check you have actually created a database with the same database name as is in your wp-config.php file.

If you are sure your configuration is correct you could try resetting your MySQL password manually.

The next step is to contact your web host. The following hosting issues may be causing the problem:
■ Your database has met its quota and has been shut down.
■ The server is down.

Contact your hosting provider to see if either of these issues is causing your problem.


Viewing all articles
Browse latest Browse all 39343

Trending Articles