Title: Database errors
Last modified: August 21, 2016

---

# Database errors

 *  [revtrev](https://wordpress.org/support/users/revtrev/)
 * (@revtrev)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/database-errors-27/)
 * How can I close tables properly?
    This is the report wp repair gave me:
 * wp_usermeta: 7 clients are using or haven’t closed the table properly
    wp_posts:
   86 clients are using or haven’t closed the table properly wp_comments: 83 clients
   are using or haven’t closed the table properly wp_options: 202 clients are using
   or haven’t closed the table properly wp_postmeta: 174 clients are using or haven’t
   closed the table properly wp_terms: 5 clients are using or haven’t closed the
   table properly wp_term_taxonomy: 11 clients are using or haven’t closed the table
   properly wp_term_relationships: 10 clients are using or haven’t closed the table
   properly wp_commentmeta: 83 clients are using or haven’t closed the table properly
 * What can I do to fix this?
    Is there anything I can do to stop it in the future?

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/database-errors-27/#post-4935704)
 * Looks like you have some runaway plugins or a bad theme. Try:
    – switching to
   the default theme automatically by renaming your current theme’s folder inside
   wp-content/themes and adding “-old” to the end of the folder name using [FTP](http://codex.wordpress.org/FTP_Clients)
   or whatever file management application your host provides.
 * – [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by phpMyAdmin.
 * – running rapier on all tables again.

Viewing 1 replies (of 1 total)

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/database-errors-27/#post-4935704)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
