mysql> repair table my_table;
+------------------------------+--------+----------+--------------------------------------------------------------------------+
| Table | Op | Msg_type | Msg_text |
+------------------------------+--------+----------+--------------------------------------------------------------------------+
| mydb.my_table | repair | Error | Table storage engine for 'my_table' doesn't have this option |
| mydb.my_table | repair | error | Corrupt |
+------------------------------+--------+----------+--------------------------------------------------------------------------+
2 rows in set (0.00 sec)
Go to your data directory and try running
#myisamchk -r my_table
You should stop MySQL process first. If that doesn't work, you can try with
#myisamchk -r -v -f my_table
+------------------------------+--------+----------+--------------------------------------------------------------------------+
| Table | Op | Msg_type | Msg_text |
+------------------------------+--------+----------+--------------------------------------------------------------------------+
| mydb.my_table | repair | Error | Table storage engine for 'my_table' doesn't have this option |
| mydb.my_table | repair | error | Corrupt |
+------------------------------+--------+----------+--------------------------------------------------------------------------+
2 rows in set (0.00 sec)
Go to your data directory and try running
#myisamchk -r my_table
You should stop MySQL process first. If that doesn't work, you can try with
#myisamchk -r -v -f my_table