How to Repair a MySQL Database with phpMyAdmin
Occasionally database tables become corrupt and you are no long able to access them. It is a good idea to always backup your information incase it can't be restored. Fortunately, you can often fix the table so you can access the data again. Doing this in phpMyAdmin is a fairly simple process.
- Login to phpMyAdmin
- Choose the affected database. If you only have one database, it should choose it by default so you don't need to do anything.
- In the main panel, you should see a list of your database tables. Check the boxes by the tables that need repair.
- At the bottom of the window just below the list of tables, there is a drop down menu. Choose "Repair Table"
This should fix your table, and let you access it again. Now that it is fixed... it's a good idea to make that database backup!
Source...