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
Try to use limit in your query. It's because of full disk as said by @Monsters X.
I have also faced this problem and solved by limit in query, because the thousands of records were there. Now working good :)