[Dovecot] Failed authentication to a mysql database (bug or PEBKAC?)

Alexander Sabourenkov screwdriver at lxnt.info
Wed Oct 19 20:25:50 EEST 2005


jigen wrote:
> Hi, 
> 	dovecot has a little crazy behaviour connecting to a mysql db: if you
> specify "127.0.0.1" as host instead of "localhost" it seems to work,
> also with a password. BUT, if you assign host=localhost without a
> password, it works too (as Ger Visschers says)....
> 

Got the same problem with alpha3 and mysql-4.1.14 on FreeBSD-5.4R/i386.
(both installed from ports)

Does not work in any combination with password. Does work without password.

Noticed weird client hostnames reported by the mysql server in the 
dovecot logs (messages from libmysqlclient). Seems like it wrongfully 
computes the client hostname, and the authentication fails becauese of 
that. Is there some kind of initialization in the libmysqlclient?

-- 

./lxnt


More information about the dovecot mailing list