Can "T create/write to File" C:\WINDOWS\TEMP\ ... MySQL Error resolution method

Source: Internet
Author: User
Tags mysql tutorial

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.