--OMestre wrote on 27.06.2002 10:04 -0300:
> Hello,
> Good News...
> The authmysql daemon have tryed to access my mysql database! I did
> change 'localhost' in authmysqlrc to 127.0.0.1, and it do not try resolv
> localhost with DNS queries. :)
leave it at 'localhost', this is the magic word for the
mysql-library to use the socket instead.
> But now, the mysql do not permit access to the user. I did try to
> grant access to everyone, but do not work. With strace i saw that the
> authmysql daemon is trying to access the database by the 3306 port. But
> i do not want it, i wanna the access by the socket /tmp/mysql.sock. In
> authmysqlrc the 3306 line is commented, and i restart the daemon
> already. :)
set MYSQL_PORT to 0, and check MYSQL_SOCKET.
the location will be logged by mysql at startup.
> But now, i want grant access in the database for everyone, to debug
> the software and to verify that it works.
> Here is the log:
>
> 020627 9:51:05 47 Connect Access denied for user:
> '[EMAIL PROTECTED]' (Using password: YES)
^^^
you still have problems with your resolver.
check with `dig -x 127.0.0.1`, `dig localhost` and in
/etc/hosts should be a line like:
127.0.0.1 localhost
Roland
-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users