I now frequently receive the error:
#1 - Can't create/write to file '/tmp/#sql_1a2_3.MYI' (Errcode: 2)
From my MySQL server. It locks out any queries or changes to data until I restart the daemon. It then fixes itself for a while and then happens again. I've tried using touch on the file inside the tmp directory with 777 permissions, and I've also tried moving the tmp directory inside of the MySQL directory (/var/lib/mysql/tmp):
MySQL Error 1 (HY000) Trouble creating file Errcode 2
Neither has worked. My tmp directory is nowhere near full with 90%+ free space, so the best answer from this question does not apply:
MySQL: Can't create/write to file '/tmp/#sql_3c6_0.MYI' (Errcode: 2) - What does it even mean?