Title: WordPress database error: [Incorrect key file for table&#8230;
Last modified: August 19, 2016

---

# WordPress database error: [Incorrect key file for table…

 *  [stacey1985](https://wordpress.org/support/users/stacey1985/)
 * (@stacey1985)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/wordpress-database-error-incorrect-key-file-for-table/)
 * “WordPress database error: [Incorrect key file for table ‘./d60506324/wp_postmeta.
   MYI’; try to repair it]”
 * Can anyone explain to my why I’m getting this error? I haven’t done anything 
   but add two new posts and then this shows up on my website and in the wp admin.
 * Thanks

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

 *  [Les Bessant](https://wordpress.org/support/users/lesbessant/)
 * (@lesbessant)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/wordpress-database-error-incorrect-key-file-for-table/#post-839062)
 * This is a problem with the database that holds all your content.
 * If you have access to phpMyAdmin, you may be able to repair the database from
   that.
 * Otherwise, you should contact your host and ask them to fix it.
 *  [Maxaud](https://wordpress.org/support/users/maxaud/)
 * (@maxaud)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/wordpress-database-error-incorrect-key-file-for-table/#post-839182)
 * You have Netfirms huh?
    Did you use the one click installer?
 *  [Maxaud](https://wordpress.org/support/users/maxaud/)
 * (@maxaud)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/wordpress-database-error-incorrect-key-file-for-table/#post-839183)
 * try this:
 * 1) go into phpmyadmin
    2) click on the database name on the left column (in this
   case it should be d60506324) 3) click “select all” on the bottom of the table
   that is show to mark all the check boxes within your database structure 4) click
   on the drop down that says “with selected” 5) choose “repair table”
 * report back here if that doesn’t fix the problem.
 *  [formerfatguy](https://wordpress.org/support/users/formerfatguy/)
 * (@formerfatguy)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/wordpress-database-error-incorrect-key-file-for-table/#post-839271)
 * thanks maxaud, your suggestion and instructions worked for me as well

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

The topic ‘WordPress database error: [Incorrect key file for table…’ is closed to
new replies.

## Tags

 * [Database Error](https://wordpress.org/support/topic-tag/database-error/)
 * [repair database](https://wordpress.org/support/topic-tag/repair-database/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 4 replies
 * 4 participants
 * Last reply from: [formerfatguy](https://wordpress.org/support/users/formerfatguy/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/wordpress-database-error-incorrect-key-file-for-table/#post-839271)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
