• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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