Home >Backend Development >PHP Tutorial >Can't create/write to file 'C:WINDOWSTEPMYSQL error solution

Can't create/write to file 'C:WINDOWSTEPMYSQL error solution

WBOY
WBOYOriginal
2016-07-29 08:45:531696browse

Error message:

Error: Can't create/write to file 'C:\WINDOWS\TEMP\#sql_738_0.MYD' (Errcode: 17)
Errno.: 1 

Problem analysis:

1. The C:WindowsTEMP folder permissions are not enough, at least the read and write permissions of the USERS group must be given;

2. The disk of the C:WindowsTEMP folder is full , the file cannot be written, clear the TEMP folder;

3. Third-party restrictions (such as restrictions on anti-virus software)

1) Your server is equipped with MCAFEE anti-virus software, and its access protection prohibits TEMP files from being writable. Modify the access protection settings;

2) It is still a problem with MCAFEE anti-virus software. The solution steps are: On-Access Scan Properties - All Processes - Detection Items - Scan files (when writing to disk) and uncheck it.

The above introduces the solution to the Can't create/write to file 'C:WINDOWSTEPMYSQL error, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn