Title: website getting wp_options error in database
Last modified: January 4, 2018

---

# website getting wp_options error in database

 *  [ovenmithead](https://wordpress.org/support/users/ovenmithead/)
 * (@ovenmithead)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/website-getting-wp_options-error-in-database/)
 * Initially got a database error on the website, went to /wp-admin, followed insctructions
   to add:
 * define(WP_ALLOW_REPAIR, true);
 * Once added, reloaded wp-admin.
 * Clicked “Repair Database”
 * The wp_users table is okay.
 * The wp_usermeta table is okay.
 * The wp_posts table is okay.
 * The wp_comments table is okay.
 * The wp_links table is okay.
 * The wp_options table is not okay. It is reporting the following error: Incorrect
   file format ‘wp_options’. WordPress will attempt to repair this table…
    Failed
   to repair the wp_options table. Error: Incorrect file format ‘wp_options’
 * The wp_postmeta table is okay.
 * The wp_terms table is okay.
 * The wp_term_taxonomy table is okay.
 * The wp_term_relationships table is okay.
 * The wp_termmeta table is okay.
 * The wp_commentmeta table is okay.
 * 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_options: Incorrect file format ‘wp_options’
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwebsite-getting-wp_options-error-in-database%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 4 months ago](https://wordpress.org/support/topic/website-getting-wp_options-error-in-database/#post-9834862)
 * Try doing the repair directly from phpmyadmin (through your hosting control panel)
   rather than from within WP. If it can’t be repaired, you’ll have to reload a 
   backup of your site.

Viewing 1 replies (of 1 total)

The topic ‘website getting wp_options error in database’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/website-getting-wp_options-error-in-database/#post-9834862)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
