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

E

How Can We Help?

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.

About the author

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.

About Author

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.

Follow Me