(I forgot to mention in my original message that I *had* commented out
the skip-networking directive in /etc/mysql/my.cnf; the directive would
have resulted in in the connection being refused; the problem here was
that the connection was immediately and silently closed.)

>   $ telnet localhost 3306
>   Trying 127.0.0.1...
>   Connected to acheloos.
>   Escape character is '^]'.
>   Connection closed by foreign host.
>
> The connection is closed immediately; all 4 lines above are output in
> an instant. Nothing's written in the log files.

Several of the newer daemons, including mysqld, are able to use the
libwrap library and check the hosts.allow and hosts.deny files. Some
operating systems, including Debian, have mysql compiled with that
option enabled. If it follows from hosts.allow and hosts.deny that mysql
should deny, it behaves as described above. Normally what needs to be
done is add a line like the following in hosts.allow, and restart the
server.

mysqld: [allowed hosts/networks here]: ALLOW

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to