No SQL module found

Patrick Ben Koetter p at state-of-mind.de
Fri Oct 26 07:52:23 EDT 2007


* Fabian Fagerholm <fabbe at paniq.net>:
> On Fri, 2007-10-26 at 09:20 +0200, Patrick Ben Koetter wrote:
> > sql_hostnames: localhost
> > 
> > 
> > If you use localhost the mysql client will attemt a TCP connection. If you
> > use 127.0.0.1 it will try to connect using a UNIX domain socket. At least
> > that's what I have been told...
> 
> I believe it's the other way around. If I read the MySQL API
> documentation [0,1] correctly, the string "localhost" or a NULL value
> will use a socket on Unix systems, while an IP address or any other DNS
> name will use a TCP/IP connection.
> 
> [0] http://dev.mysql.com/doc/refman/4.1/en/mysql-real-connect.html
> [1] http://dev.mysql.com/doc/refman/5.1/en/mysql-real-connect.html
> 
> Those docs could be clearer, though...

So it has to be the other way around.

Thanks for looking this up!

p at rick

-- 
The Book of Postfix
<http://www.postfix-book.com>
saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>


More information about the Cyrus-sasl mailing list