The solution of can ' t create/write to file error in MySQL

Source: Internet
Author: User
Tags mysql mysql query

After testing the installed Supesite today, a MySQL query error is sometimes generated after modifying the user space template:

SupeSite info: MySQL Query Error
Script: /index.php

Error: Can't create/write to file 'C:\WINDOWS\TEMP\#sql_4f4_0.MYD' (Errcode: 17)
Errno.: 1
Similar error report has beed
dispatched to administrator before.

See this error first should consider the issue of permissions, if the C-disk permissions only open the Administrators group permissions, you can open C:\windows\TEMP give the directory everyone's permissions. Re-test if the problem persists, open the temp directory to see #sql _4f4_0.myd This file already exists, if the creation date is a few days before. Perhaps it is the last time you installed the access generated, you can empty the directory all, the problem can be resolved.

Attachment: This problem still appears today, on the server, it turns out that because McAfee antivirus software prevents the process from reading and writing to the file, McAfee has a feature that prevents programs from running and reading from the temp directory. It is resolved to add it to the exclusion range problem.

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.