I get the error message Can create/write to file /tmp/#sql_45d5_0.MYI. Whats wrong?
The problem: MySQL can’t create a temporary file for the result set in the given temporary directory. The solution: Alter the tmpdir variable to point to a writable directory. It requires changing the tmpdir line in the my.cnf file, usually in the [mysqld] section (tmpdir = /writable/dir, where /writable/dir is a directory to which you can write). Ask your webhost to make the above changes.
Related Questions
- I was trying to unzip the download, but kept receiving the error message Can create output file. Why can I download the update?
- I get the following error "Could not create output file (was replacing the original zip file)". What is wrong?
- I get the error message Can create/write to file /tmp/#sql_45d5_0.MYI. Whats wrong?