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

Written by Ian Carnaghan · 14 sec read >

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.

Last Updated On January 13, 2019
Written by Ian Carnaghan
I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment. Profile

Leave a Reply

Notify of