Title: Corrupt Mysql database table
Last modified: August 30, 2016

---

# Corrupt Mysql database table

 *  [jamesjpn](https://wordpress.org/support/users/jamesjpn/)
 * (@jamesjpn)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/corrupt-mysql-database-table/)
 * All posts and pages on my website disappear from time to time. I learned it was
   because of a corrupt wp_posts database table. I learned to fix from Cpanel.
 * However an error persists even though the site is up and running. I get the following
   message after running [http://mysite.com/wp-admin/maint/repair.php](http://mysite.com/wp-admin/maint/repair.php)
 * The wp_posts table is not okay. It is reporting the following error: Size of 
   indexfile is: 8441856 Should be: 8438784. WordPress will attempt to repair this
   table…
    Failed to repair the wp_posts table. Error: Size of indexfile is: 8441856
   Should be: 8438784
 * I tried different database repair tools but to no avail. Any suggestions?

The topic ‘Corrupt Mysql database table’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [jamesjpn](https://wordpress.org/support/users/jamesjpn/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/corrupt-mysql-database-table/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
