You need to change the db_unix_socket line to reference /var/run/mysqld/mysqld.sock in your dovecot mysql conf file, not just comment it out.  Be sure to restart dovecot when you make the change as well.

On Apr 27, 2006, at 9:07 AM, Pedro Vieira wrote:

Hi,

Thanks for your reply :)

Yes, I'm susing both Debian and dovecot 0.99.14

I tried to connect using  tcp and the authentication stills fails.
With the db_unix_socket line comented I still get this error on my mail logfile

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

I checked /etc/mysql/my.cnf and the path is correct: /var/run/mysqld/mysqld.sock.


Any ideias? :(

Thanks,

Pedro