That means that mysqld is not running or dovecot is looking in the wrong place for it.  Can you get to mysql from the command line?  If so, you'll need to figure out where mysql.sock is located (look in /etc/my.cnf) and then point dovecot to it.  If you can't run mysql from the command line then the daemon is not running and you will need to start it.

- Jon

On Apr 26, 2006, at 4:01 PM, Pedro Vieira wrote:

Hello all..



I'm trying to configure dovecot do athenticate using mysql, but I?m having some troubles...

After configuring the mysql athentication in dovecot-mysql.conf and in dovecot.conf, when I try to login I get this mesage in my logs:


Dovecot-auth: MySQL: Can't connect to database dovecot: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2)




Any ideia why this happens and how to fix it?



Thanks in advance,



Pedro