mySQL – Table is marked as crashed and should be repaired

if you got this error:

Table <TableName> is marked as crashed and should be repaired

This could be fixed by go to the path where mysql database files is located, on Debian this will be /var/lig/mysql

Go into the database where the crashed tables are, and run this commando:

myisamchk -r <TableName>.MYI

Share this:
Share this page via Email Share this page via Stumble Upon Share this page via Digg this Share this page via Facebook Share this page via Twitter

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *