Problem Analysis:
1, c:windowstemp folder permissions are not enough, at least to give the USERS group readable and writable permission;
2, C:windowstemp folder full of disk, the file is not written in, empty the TEMP folder;
3, third party restrictions (such as the limitations of anti-virus software)
Workaround, start with the MY.CNF configuration first
Add a row in My.ini [MySQL tutorial d]
Tmpdir= "d:/mysql/temp/"
Specifies that you create a directory for creating temporary files, which are used in a large number of queries
Restart the MySQL service to take effect.
1 Your server installed MCAFEE antivirus software, its Access protection prohibits the TEMP file writable, modify Access protection settings;
2 or McAfee antivirus software problem, troubleshooting steps: By Access scan properties-all processes-detections-scan files (when writing to disk) check out.
Open the McAfee VirusScan console-> Press the Access Scanner-> property-> All Processes-> detections-> exclusions-> add d:mysqltemp
Exclude time Select write when reading.