The syntax for repairing a MySQL table is:

REPAIR TABLE tablename
REPAIR TABLE tablename QUICK
REPAIR TABLE tablename EXTENDED

This command will repair the table specified. If QUICK is given, MySQL will do a repair of only the index tree. If EXTENDED is given, it will create index row by row.

Please login or Register to submit your answer
Not the answer you are looking for? Browse other questions tagged or ask your own question.