• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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