I got the following error from a MySQL query.
#126 - Incorrect key file for table
I have not even declared a key for this table, but I do have i
mysqlcheck -r -f -uroot -p --use_frm db_name
will normally do the trick