Title: Database Error
Last modified: August 20, 2016

---

# Database Error

 *  [MemoNick](https://wordpress.org/support/users/memonick/)
 * (@memonick)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/database-error-97/)
 * Since today morning, I’ve been receiving an error whenever I try to reach my 
   site: Error establishing a database connection.
 * I haven’t changed anything since last night, when it was working well. What should
   I do to fix this?

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

 *  [davemhui](https://wordpress.org/support/users/davemhui/)
 * (@davemhui)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/database-error-97/#post-3426158)
 * Check the database user and password in the database from phpMyAdmin in your 
   cpanel file manager of web hosting and in the wp-config.php file. They both must
   match, else you will get** Error Establishing Database Connection**
 *  [sitespeed](https://wordpress.org/support/users/sitespeed/)
 * (@sitespeed)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/database-error-97/#post-3426261)
 * Ask your web hosting because sometimes they may be having issues.

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

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [sitespeed](https://wordpress.org/support/users/sitespeed/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/database-error-97/#post-3426261)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
