Title: Database Error Help
Last modified: August 18, 2016

---

# Database Error Help

 *  [skweaques](https://wordpress.org/support/users/skweaques/)
 * (@skweaques)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/database-error-help/)
 * I recieved this message trying to go to my site:
    Error establishing a database
   connection! This probably means that the connection information in youn wp-config.
   php file is incorrect. Double check it and try again. * Are you sure you have
   the correct user/password? * Are you sure that you have typed the correct hostname?*
   Are you sure that the database server is running? Can anyone help me figure out
   how to fix this? Eric

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [duches77](https://wordpress.org/support/users/duches77/)
 * (@duches77)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/database-error-help/#post-74206)
 * You have to go into that file (wp-config.php) first to make sure the information
   in there is correct to log into your database. If it is, then you’re at the same
   spot I’m at…
 *  [flores](https://wordpress.org/support/users/flores/)
 * (@flores)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/database-error-help/#post-74215)
 * I’m having the exact same problem, and my information is correct. What now?
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/database-error-help/#post-74217)
 * flores – either mysql is not available, or something in wp-config is incorrect.
   
   This may help: [http://wiki.wordpress.org/5MinuteInstallation/wp-config.php](http://wiki.wordpress.org/5MinuteInstallation/wp-config.php)
 *  [duches77](https://wordpress.org/support/users/duches77/)
 * (@duches77)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/database-error-help/#post-74218)
 * Strangely enough, the problem seems to have fixed itself. I’m not going to pretend
   to know what happened that changed things around, it just works now.
 *  [wpuser](https://wordpress.org/support/users/wpuser/)
 * (@wpuser)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/database-error-help/#post-74294)
 * The same problem happened to me few minutes ago and remains. Is it fair to say
   that the message will be generated whenever there any temporary MySQL problem
   on the hosting site? If so, is there any error trapping possible to prevent that
   long (and confusing for an average user) message from appearing?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Database Error Help’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 5 participants
 * Last reply from: [wpuser](https://wordpress.org/support/users/wpuser/)
 * Last activity: [21 years, 10 months ago](https://wordpress.org/support/topic/database-error-help/#post-74294)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
