MySQL temp directory full
In such situations, you will have to change the MySQL’s tmpdir.
- Create the new temp directory
mkdir /var/lib/mysql/tmp
chmod 1777 /var/lib/mysql/tmp
- Make the new folder as the tmpdir by adding the below to server’s /etc/my.cnf
tmpdir = /var/lib/mysql/tmp
- Restart mysql
service mysqld restart
Leave a Reply