ERROR 1194 (HY000): Table ‘mytable’ is marked as crashed and should be repaired, how do I fix this?

Error: 1194 SQLSTATE: HY000: means ER_CRASHED_ON_USAGE

In the mySql command line you should run the following command to repair the table

repair table mytable;

//Replace mytable with your table name

REPAIR TABLE  repairs a possibly corrupted table. To read more about the REPAIR TABLE command click here.

NOTE: If you do not have access to the command line then phpMyAdmin should have a repair table option.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.