Fixing MYSQL / WordPress Restore – ERROR 2006 (HY000) at line 267: MySQL server has gone away

Fix “WordPress database error Table … is marked as crashed and should be repaired”

All the content on my site was gone. When I went to investigate, I found my error log was filled with the following error:

A very scary looking error, but it was easy to fix.

My Preferred Repair Method

For me, this was the easiest and quickest way to repair the table.

Repairing Tables with phpMyAdmin

For you, you might prefer to use phpMyAdmin. Fortunately, repairing a table with phpMyAdmin is easy.

  1. Log in to your phpMyAdmin or connect to it via your cPanel back-end.
  2. Select the database with the crashed table.
  3. Put a checkmark next to each crashed table.
  4. Select “Repair table” from the “With selected:” drop down at the bottom of the list.
  5. Let phpMyAdmin do its thing.


Comments

comments

Leave a Reply