![]() |
![]() |
|
| Condividi questo contenuto nei Social Network: |
|
Tweet |
|
|
|
Ti stiamo aspettando: Registrati subito e gratis. Entra a far parte di una delle comunità più attive in Italia. Se hai dimenticato i tuoi dati li puoi recuperare subito. |
||||
|
|||||||||
|
|
LinkBack | Strumenti di discussione |
|
|
#1 (permalink) |
|
Esperta
|
Mysql errcode 17 nella directory tmp
Premetto che sono su Windows.
Da quando ho messo mysql 5 spesso le pagine mi danno questo errore (non è sempre uguale il nome del file): [MySQL][ODBC 3.51 Driver][mysqld-5.0.27-community-log]Can't create/write to file 'C:\EasyPHP\tmp\#sql_3fc0_0.MYD' (Errcode: 17) Il log degli errori di mysql non dice niente a riguardo. Risolvo cancellando il file suddetto, ma ovviamente non è una soluzione accettabile anche perchè se non sono online possono passare ore e ore prima che me ne accorgo e nel frattempo il sito non funziona. Ho cercato su google l'errore per giorni, ma il poco che ho trovato non corrisponde alla mia situazione: non è un problema di permessi nella cartella tmp, nè un antivirus che accede alla cartella. Quindi provo a chiedere aiuto qui.. grazie in anticipo a chiunque mi aiuterà! questo è il mio my.ini se può essere utile: Codice:
# The following options will be passed to all MySQL clients [client] password = ---removed--- port = 3306 socket = /tmp/mysql.sock # Here follows entries for some specific programs # The MySQL server [mysqld] port = 3306 socket = /tmp/mysql.sock skip-locking key_buffer = 64M max_allowed_packet = 10M table_cache = 256 sort_buffer_size = 512K net_buffer_length = 8K read_buffer_size = 256K read_rnd_buffer_size = 512K myisam_sort_buffer_size = 16M query_cache_size=16M query_cache_limit=1M thread_concurrency=2 thread_cache_size=50 tmp_table_size=9M myisam_max_sort_file_size=300M myisam_max_extra_sort_file_size=300M # Replication Master Server (default) # binary logging is required for replication log-bin=mysql-bin # required unique id between 1 and 2^32 - 1 # defaults to 1 if master-host is not set # but will not function as a master if omitted server-id = 1 # Point the following paths to different dedicated disks tmpdir = C:/EasyPHP/tmp/ #log-update = /path-to-dedicated-directory/hostname [mysqldump] quick max_allowed_packet = 16M [mysql] no-auto-rehash # Remove the next comment character if you are not familiar with SQL #safe-updates [isamchk] key_buffer = 64M sort_buffer_size = 64M read_buffer = 2M write_buffer = 2M [myisamchk] key_buffer = 64M sort_buffer_size = 64M read_buffer = 2M write_buffer = 2M [mysqlhotcopy] interactive-timeout |
|
Ultima modifica di Josie : 20-04-07 01:46. |
|
|
|
|
|
|