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