[Dovecot] Failed authentication to a mysql database (bug
or PEBKAC?)
Michael Gabb
megamimi at gmx.de
Tue Aug 16 12:51:06 EEST 2005
Timo Sirainen schrieb:
>
> I see actually one difference between 0.99.x code and 1.0-test code.
> Does this help?
>
> diff -u -r1.9 driver-mysql.c
> --- src/lib-sql/driver-mysql.c 9 Jun 2005 18:44:22 -0000 1.9
> +++ src/lib-sql/driver-mysql.c 16 Aug 2005 09:08:19 -0000
> @@ -82,7 +82,7 @@
>
> if (*conn->host == '/') {
> unix_socket = conn->host;
> - host = NULL;
> + host = "localhost";
> } else {
> unix_socket = NULL;
> host = conn->host;
>
No, but now I get an interessting new error sometimes when I try to start:
Aug 16 13:51:31 testmail dovecot: Dovecot v1.0-test79 starting up
Aug 16 13:51:32 testmail dovecot: Auth process died too early - shutting
down
Aug 16 13:51:32 testmail dovecot: auth(default):
net_connect_unix(/var/run/dovecot/auth-worker.13176) failed: No such
file or directory
Aug 16 13:51:32 testmail dovecot: child 13176 (auth) returned error 89
But most of the time I get the old error:
Aug 16 13:52:10 testmail dovecot: Dovecot v1.0-test79 starting up
Aug 16 13:52:11 testmail dovecot: auth-worker(default): mysql: Connect
failed to localhost (mailbas): Access denied for user
'my_user'@'localhost' (using password: YES) - waiting for 1 seconds
before retry
Hope that helps.
--
www.megamimi.de.vu
More information about the dovecot
mailing list