<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Mysql errcode 17 nella directory tmp]]></title><description><![CDATA[<p dir="auto">Premetto che sono su Windows.<br />
Da quando ho messo mysql 5 spesso le pagine mi danno questo errore (non è sempre uguale il nome del file):<br />
[MySQL][ODBC 3.51 Driver][mysqld-5.0.27-community-log]Can't<br />
create/write to file 'C:\EasyPHP\tmp#sql_3fc0_0.MYD' (Errcode: 17)</p>
<p dir="auto">Il log degli errori di mysql non dice niente a riguardo.<br />
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.</p>
<p dir="auto">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à!</p>
<p dir="auto">questo è il mio my.ini se può essere utile:</p>
<pre><code> # 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
</code></pre>
]]></description><link>https://dev.connect.gt/topic/33344/mysql-errcode-17-nella-directory-tmp</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 21:32:35 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/33344.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Apr 2007 22:43:59 GMT</pubDate><ttl>60</ttl></channel></rss>