Question

General error: 126 Incorrect key file for table '/tmp/#sql_292c_0.MYI'; try to repair it

My os is ubuntu server 14.04 , after upgrading storeage from 80 gb to 160 gb there is a problem: General error: 126 Incorrect key file for table ‘/tmp/#sql_292c_0.MYI’; try to repair it. Can you help me? Thanks

Subscribe
Share

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.

Hi @agussetiono326,

It seems there is a problem with your MySQL, try to repair the database like so:

mysqlrepair -A

Additionally, every time I’ve seen this error it has been due to a full disk, is this the reason you upgraded?

See if the additional 80G have been added to the proper volume:

df -h

Additionally, check your inodes, it’s possible the /tmp inodes are full:

df -i