I don\'t come here for help often but I am pretty frustrated by this and I am hoping someone has encountered it before.
Whenever I try to fetch records from a table
Only increase the file tmp, because mysql doesn't have space in it, for queries...
mount -o remount,size=[NEW MAX SIZE HERE] tmpfs /tmp
Links reference:
General error: 126 Incorrect key file for table ‘/tmp/#sql_254c_0.MYI’; try to repair it
[ERROR] /usr/sbin/mysqld: Incorrect key file for table '/mysqltmp/#sql_ca1a_0.MYI'; try to repair it
How to increase /tmp partition size