MySQL: table is marked as crashed

Solution 1:

To check the tables:

CHECK TABLE mytable1

To repair the table:

REPAIR TABLE mytable1

Solution 2:

Here is specifically what always fixes the table for me:

myisamchk -o /var/lib/mysql/YourDB/yourcrashedtable.MYI

Source: http://realtechtalk.com/MySQL_table_is_marked_as_crashed_solultion-1924-articles