Incorrect key file for table '/tmp/#sql_46e_0.MYI'; try to repair it

  • Posted August 25, 2014

hello today i m trying remove a list of movies from my website and after that i got this error Incorrect key file for table ‘/tmp/#sql_46e_0.MYI’; try to repair it on all my website i ask in some forum and tell me to contact hosting server help to fix that problem please tell me what to do to fix this ? when i refresh webpage i got Got error 28 from storage engine i use zpanel on server and i have another website installed on same server and work fine?


Just ran in the same problem and indeed got a report that my disk was full. While fiddeling finding out why it would be full it suddenly reported a normal situaltion again and ran as expected with df -h Filesystem Size Used Avail Use% Mounted on /dev/vda1 30G 12G 17G 43% / none 4.0K 0 4.0K 0% /sys/fs/cgroup udev 487M 4.0K 487M 1% /dev tmpfs 100M 408K 100M 1% /run none 5.0M 0 5.0M 0% /run/lock none 498M 0 498M 0% /run/shm none 100M 0 100M 0% /run/user overflow 1.0M 844K 180K 83% /tmp

Whats going on here? Hardware problems?

What OS are you using? This error is often seen when there is no more room on the hard drive. On some OSs, /tmp is mounted as tmpfs filesystem which might not be large enough. What’s the output of

df -h

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Plase help me, i did what you said and I cant log in to phpmyadmin.

Power off your web servers and your MySQL server.

Then goto the directory where your MySQL data files are and run the following:

myisamchk -r */*.MYI

This is MySQL’s internal tool that repairs broken tables. After that restart the MySQL service and the web servers and retry your actions.

We don’t run any partitions by default so your /tmp directory won’t be out of space unless your entire server is and you can check that very easily by running the following command:

df -h