Title: Database repair errors
Last modified: August 19, 2016

---

# Database repair errors

 *  [leviticus](https://wordpress.org/support/users/leviticus/)
 * (@leviticus)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/database-repair-errors/)
 * I have recently upgraded to WP 3.1 and shortly after could not login to the admin
   section, reeving the error: **Error establishing a database connection **
 * I preformed the database repair, which seemed to have fixed the trouble with 
   logging in, but the database is still showing the following error:
 * **wp_posts:** 3 clients are using or haven’t closed the table properly
    **wp_options:**
   Table is marked as crashed **wp_postmeta:** 4 clients are using or haven’t closed
   the table properly **wp_terms:** 2 clients are using or haven’t closed the table
   properly **wp_term_taxonomy:** 4 clients are using or haven’t closed the table
   properly **wp_term_relationships:** 4 clients are using or haven’t closed the
   table properly
 * I [found this thread](http://wordpress.org/support/topic/error-establishing-a-database-connection-192?replies=7),
   but not sure if it’s the same/similar problem.
 * Any thoughts on how to fix the errors still remaining in the database?

The topic ‘Database repair errors’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [Database Error](https://wordpress.org/support/topic-tag/database-error/)
 * [wp_options](https://wordpress.org/support/topic-tag/wp_options/)
 * [wp_postmeta](https://wordpress.org/support/topic-tag/wp_postmeta/)
 * [wp_posts](https://wordpress.org/support/topic-tag/wp_posts/)
 * [wp_terms](https://wordpress.org/support/topic-tag/wp_terms/)
 * [wp_term_relationships](https://wordpress.org/support/topic-tag/wp_term_relationships/)
 * [wp_term_taxonomy](https://wordpress.org/support/topic-tag/wp_term_taxonomy/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [leviticus](https://wordpress.org/support/users/leviticus/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/database-repair-errors/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
