[Dovecot] mysql authentication problems
Dumitru Negara
dumitru at itcnetworks.ro
Fri Apr 28 16:44:38 EEST 2006
It should be TCP:
--------------------
db_host = localhost
db_port = 3306
#db_unix_socket = /var/run/mysqld/mysqld.sock
--------------------
or socket
--------------------
#db_host = localhost
#db_port = 3306
db_unix_socket = /var/run/mysqld/mysqld.sock
--------------------
Not both.
And socket is */var/run/mysqld/mysqld.sock*, not /var/run/mysqld/mysql.sock
Regards,
Dumitru
Pedro Vieira wrote:
> Already did it... now i have this error:
>
> dovecot-auth: MySQL: Can't connect to database dovecot: Can't connect
> to local MySQL server through socket '/var/run/mysqld/mysql.sock' (2)
>
>
> I already have smoke comming out of my head.... :S
>
> Jon Baker wrote:
>> Um... uncomment your socket line perhaps?
>>
>> On Apr 27, 2006, at 5:46 PM, Pedro Vieira wrote:
>>
>>> db_host = localhost
>>> db_port = 3306
>>> #db_unix_socket = /var/run/mysqld/mysql.sock
>>> db = mydovecotdb
>>> db_user = mydovecotuser
>>> db_passwd = mydbpasswd
>>> db_client_flags = 0
>>
>
More information about the dovecot
mailing list