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


Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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