Jeegar Patel
Jeegar Patel

Reputation: 27230

whats meaning of "Error establishing a database connection"

i have one wordpress blog name as

http://shareprogrammingtips.com/

its hosted on hostgator and works fine. But suddendly i am getting error like

Database Error:

Error establishing a database connection  

when i open my blog.

i have not done anything with php my admin of my webspace. i havent touch any setting still i am getting this.

why this error comes and how can i remove that ?

Upvotes: 0

Views: 1789

Answers (3)

Anupam Rekha
Anupam Rekha

Reputation: 186

Hostgator places a limit that database can consume only 25% of total memory assigned to a hosting account. You have mysql server going away that crashed your server.Kind of "Memory Issues" if it is repeatedly occuring the hostgator support will finally ask you to upgrade

Upvotes: 0

markratledge
markratledge

Reputation: 17561

If you have't changed anything in the site wp-config.php or in Wordpress at all, it's probably nothing more than a temporary glitch at your webhost. Open a ticket with them.

Upvotes: 1

user542603
user542603

Reputation:

Chances are there is an issue with one of the following:

  • The database server is down (try connecting via a MySQL client such as PHPMyAdmin or the MySQL admin tools http://dev.mysql.com/downloads/gui-tools/5.0.html)
  • Incorrect username/password
  • Your username/password is correct however you don't have permission to connect from your current hostname (e.g. database only allows local connections).
  • You specified a database table that does not exist.

Upvotes: 2

Related Questions