Home >Backend Development >PHP Tutorial >Can't create/write to file 'C:WINDOWSTEMP...MYSQL报错解决方法_php技巧

Can't create/write to file 'C:WINDOWSTEMP...MYSQL报错解决方法_php技巧

WBOY
WBOYOriginal
2016-05-17 09:17:431215browse

错误提示:

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

问题分析:

1、C:\Windows\TEMP 文件夹权限不够,至少也要给出 USERS 组的可读可写权限;

2、C:\Windows\TEMP 文件夹的磁盘满了,文件写不进去了,清空 TEMP 文件夹;

3、第三方限制(如杀毒软件的限制)

1)你的服务器装了 MCAFEE 杀毒软件,它的访问保护禁止了 TEMP 文件可写,修改访问保护设置;

2)还是MCAFEE杀毒软件的问题,解决步骤:按访问扫描属性 - 所有进程 - 检测项 - 扫描文件(在写入磁盘时 )勾去掉就好了。

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