Title: database problem cannot be repaired
Last modified: September 8, 2016

---

# database problem cannot be repaired

 *  [duqiaochai](https://wordpress.org/support/users/duqiaochai/)
 * (@duqiaochai)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/database-problem-cannot-be-repaired/)
 * Hi, my website faced an “Error Establishing a Database Connection” issue suddenly.
   I am trying to use built-in way to repair my database, and I got the information
   as blew:
 * Some database problems could not be repaired. Please copy-and-paste the following
   list of errors to the WordPress support forums to get additional assistance.
 * wp_users: 1 client is using or hasn’t closed the table properly
    wp_usermeta:
   2 clients are using or haven’t closed the table properly wp_posts: 2 clients 
   are using or haven’t closed the table properly wp_comments: 1 client is using
   or hasn’t closed the table properly wp_options: Table is marked as crashed wp_postmeta:
   2 clients are using or haven’t closed the table properly wp_terms: 1 client is
   using or hasn’t closed the table properly wp_term_taxonomy: 2 clients are using
   or haven’t closed the table properly wp_term_relationships: 2 clients are using
   or haven’t closed the table properly
 * Could someone help me with this? Thanks a lot!
    -  This topic was modified 9 years, 7 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

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

 *  [danhgilmore](https://wordpress.org/support/users/danhgilmore/)
 * (@danhgilmore)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/database-problem-cannot-be-repaired/#post-8160465)
 * I couldn’t find that error in WordPress core, so it looks like it may be a plugin
   issue.
 * Try [manually resetting your plugins](https://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)(
   no Dashboard access required). If that resolves the issue, reactivate each one
   individually until you find the cause.
 * If that does not resolve the issue, access your server via [SFTP or FTP](https://codex.wordpress.org/FTP_Clients),
   or a file manager in your hosting account’s control panel, navigate to `/wp-content/
   themes/` and rename the directory of your currently active theme. This will force
   the default theme to activate and hopefully rule-out a theme-specific issue (
   theme functions can interfere like plugins).
 *  [PsYk3s](https://wordpress.org/support/users/psyk3s/)
 * (@psyk3s)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/database-problem-cannot-be-repaired/#post-9162496)
 * To fix this
 * I accessed phpMyAdmin, Selected the database, Selected the table that needed 
   repairing and at the bottom it asks “With selected:” Just select repair.
 * I did this with all of the table entries mentioned and all is working again.

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

The topic ‘database problem cannot be repaired’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 0 participants
 * Last reply from: [PsYk3s](https://wordpress.org/support/users/psyk3s/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/database-problem-cannot-be-repaired/#post-9162496)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
