Title: Database error
Last modified: August 31, 2016

---

# Database error

 *  Resolved [asdweb](https://wordpress.org/support/users/asdweb/)
 * (@asdweb)
 * [10 years ago](https://wordpress.org/support/topic/database-error-218/)
 * Using my desktop server – removed unneeded plugins and added a delete revision
   optimize plugin. Ran optimizer and was greeted with an error.
 * Added define(‘WP_ALLOW_REPAIR’, true); to wp-config.php and got this error…
 * Help?
 * wp_weeed6_usermeta: Table is marked as crashed and last repair failed
    wp_weeed6_posts:
   Table is marked as crashed and last repair failed wp_weeed6_comments: Table is
   marked as crashed and last repair failed wp_weeed6_options: Table is marked as
   crashed and last repair failed wp_weeed6_postmeta: Table is marked as crashed
   and last repair failed wp_weeed6_term_taxonomy: Table is marked as crashed and
   last repair failed wp_weeed6_term_relationships: Table is marked as crashed and
   last repair failed wp_weeed6_commentmeta: Table is marked as crashed and last
   repair failed

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years ago](https://wordpress.org/support/topic/database-error-218/#post-7423834)
 * Do you have a good back of your DB taken prior to this issue? If so, try restoring
   it.
 * Alternately, you can ask your hosting provider if they have a backup of your 
   site. If they do, ask them restore it.
 *  Thread Starter [asdweb](https://wordpress.org/support/users/asdweb/)
 * (@asdweb)
 * [10 years ago](https://wordpress.org/support/topic/database-error-218/#post-7423836)
 * Luckily, I had a copy of the demo site on my server – just finished porting it
   back to my desktop… Will make it a point to have a backup of the site when it
   goes live. So weird. Never happened before, to me anyway. 🙂
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years ago](https://wordpress.org/support/topic/database-error-218/#post-7423841)
 * Is your site working now?
 *  Thread Starter [asdweb](https://wordpress.org/support/users/asdweb/)
 * (@asdweb)
 * [10 years ago](https://wordpress.org/support/topic/database-error-218/#post-7423846)
 * Yes. 🙂
 * Thanks!
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years ago](https://wordpress.org/support/topic/database-error-218/#post-7423847)
 * Great 🙂

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

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

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [desktop server](https://wordpress.org/support/topic-tag/desktop-server/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/database-error-218/#post-7423847)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
