Title: Will not read database
Last modified: August 19, 2016

---

# Will not read database

 *  [dsamorano](https://wordpress.org/support/users/dsamorano/)
 * (@dsamorano)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/will-not-read-database/)
 * I backed up the mysql data folder and the website root dir. tried upgrading and
   it failed.
 * Replaced everything back now wordpress will not read the database. I get a message
   Error establishing a database connection

Viewing 1 replies (of 1 total)

 *  [bernardborealis](https://wordpress.org/support/users/bernardborealis/)
 * (@bernardborealis)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/will-not-read-database/#post-834658)
 * Check your wp-config.php and make sure that the database name, username and password
   are all correct.

Viewing 1 replies (of 1 total)

The topic ‘Will not read database’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [bernardborealis](https://wordpress.org/support/users/bernardborealis/)
 * Last activity: [17 years, 9 months ago](https://wordpress.org/support/topic/will-not-read-database/#post-834658)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
