Report this

What is the reason for this report?

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

Posted on 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?



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!

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.