0

I have used Joomla 2.5 and the administrator module manager displays this type of error.

Can't create/write to file 'C:\Windows\TEMP\#sql_490_0.MYD' (Errcode: 17)

can you please help me?

4

1 回答 1

4

See http://dev.mysql.com/doc/refman/5.0/en/cannot-create.html

There are several reasons for this Error:

  1. No disk space left
  2. Antivirus or Microsoft Security Essential blocks the file
  3. Running two instances of MySQL which are trying to write the same file
  4. The user running MySQL has sufficient rights on this folder

Solutions

  • Rename(delete) the file
    • Stop MySQL, rename the file, start MySQL.
  • Add the folder to the Antivirus's/Microsoft Security Essential's exclude list
  • Check in the taskmanager if there are two instances running of mysql(d).
  • Running defrag
  • Restart Computer/MySQL
  • When you have PhpMyAdmin installed, select your database, scroll down and select and click "Repair".
  • When the error occurred when using mysqldump add this parameter: --skip-lock-tables and --lock-tables=false

Other, similar questions on SO, Google.

于 2012-10-25T13:26:12.417 回答