Hello

On 2007-01-23 Luis Matos wrote:
> lar:/home/lmatos# cat /etc/hosts
> 127.0.0.1       localhost
> 127.0.1.1       lar.mec.ua.pt.mec.ua.pt lar.mec.ua.pt

>  cat /etc/mysql/debian.cnf
> # Automatically generated for Debian scripts. DO NOT TOUCH!
> [client]
> host     = lar.mec.ua.pt
> user     = debian-sys-maint
> password = 8i373SGoGJHck1x0
> socket   = /var/run/mysqld/mysqld.sock
...

> here is a client section. I had not  touched this.

Strange, how comes your hostname into this file? The Debian scripts put
"localhost" there. As you probably have "skip-networking" or "bind=127.0.0.1"
in your /etc/mysql/my.cnf connections to 127.0.1.1 will fail. No reboot
helps here, you have to change the host line back to "localhost" in 
/etc/mysql/debian.cnf.

I've just put the same line into my /etc/hosts and clean installed mysql but
ended up with a proper debian.cnf. Please check the modification date of
your debian.cnf to make sure that really nobody edited it manually.

bye,

-christian-



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to