• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

MySql: "Can't create/write to file 'C:\WINDOWS\TEMP\#xxxxxxxx.MYD' (Errcode: 17)"

  • Thread starter luca.micheletti
  • Start date
L

luca.micheletti

Guest
Hello.
I've a problem with mysql/drweb (I think). Sometimes, running a query, MySql returns:
"Can't create/write to file 'C:\WINDOWS\TEMP\#xxxxxxxxxx.MYD' (Errcode: 17)"

After deleting this file, mysql works fine for a bit, but this error message comes back again and again...
I use DrWeb antivirus and the problem went away with DrWeb off (Is it possible?).
Perhaps there is a conflict between MySQL and the installed antivirus program.
Can I exclude temp directory from DrWeb? How can I do? Is it a bug?

Thanks a lot

Luca
 
It looks that you are running 2 mysql and they are trying to create temp file in the same folder.
For Plesk client myslq try to change temp folder (%plesk_dir%\databases\mysql\data\my.ini)
add line to my.ini like tmp_dir=path-to-folder(different from c:\windows\temp)

restart mysql

John S.G.
 
Back
Top