[bglug] MySQL: errore "Lost connection" su indirizzo 127.0.0.1

Jimmi jimmi@bglug.it
Mar 3 Giu 2008 22:36:39 CEST


Ciao,

cercando di collegarmi al server MySQL in locale sul mio portatile ottengo
il seguente errore:
$ mysql -h 127.0.0.1 -u root -p
Enter password:
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial
communication packet', system error: 0

in /etc/my.cnf ho:
[client]
port = 3306
socket = /tmp/mysql.sock
[mysqld]
port = 3306
socket = /tmp/mysql.sock
datadir = /var/lib/mysql
skip-locking
key_buffer = 16M
max_allowed_packet = 1M
table_cache = 64
sort_buffer_size = 512K
net_buffer_length = 16K
myisam_sort_buffer_size = 8M
bind-address = 127.0.0.1
server-id = 1
[mysqldump]
quick
max_allowed_packet = 16M
[isamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout

il server ascolta sulla porta 3306 ed il collegamento a localhost funziona
regolarmente.

il collegamento con telnet produce l'errore:
$ telnet 127.0.0.1 3306
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.

In rete non riesco a trovare riferimenti utili; avete suggerimenti?

Grazie
-- 
Jimmi






Maggiori informazioni sulla lista bglug