Home > Database > Mysql Tutorial > body text

Error:Can/'t create/write to file错误_MySQL

WBOY
Release: 2016-06-01 13:55:51
Original
927 people have browsed it

  在测试安装好的SupeSite之后,在修改用户空间模板之后有时会产生一个MySQL查询错误:

SupeSite info: MySQL Query Error
Script: /index.php
  
Error: Can't create/write to file
'C:WINDOWSTEMP#sql_4f4_0.MYD' (Errcode: 17)
Errno.: 1
Similar error report has beed
dispatched to administrator before.

  看到这个错误首先应该考虑权限的问题,如果对C盘权限只开放了administrators组的权限,可以打开C:windowsTEMP赋予该目录Everyone所有的权限.重新测试如果问题依旧,打开Temp目录看#sql_4f4_0.MYD这个文件已在存在,如果创建日期是早几天之前.也许就是你上次安装好之后访问产生的,可以将这个目录全部清空,问题即可解决。

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!