That's correct. The sqlsocket option is currently silently ignored. The other parameters are used to construct a connection URL as documented at:
http://www.tildeslash.com/libzdb/api-docs/ConnectionPool_8h.html For mysql it would be possible to support unix sockets it seems (though not yet in dbmail atm). For postgresql I don't see any reference in the libzdb docs. Let me ask on the libzdb list. Larry Low wrote: > Dbmail doesn't want to use the local socket when connecting to PostgreSQL. > Config snippet from below. Using this configuration it tries to connect via > TCP. > > # > # Supported drivers are mysql, postgresql, sqlite. > # > driver = postgresql > > # > # Supported drivers are sql, ldap. > # > authdriver = sql > > # > # Host for database, set to localhost if database is on > # the same host as dbmail and you want to use a local > # socket for connecting. > # > host = localhost > > # > # If you want to use TCP/IP for connecting to the database, > # and have the database running on a non-standard port. > # > sqlport = > > # > # When using a local socket connection to the database, fill > # in the path to the socket here (e.g. /var/run/mysql.sock). > # > sqlsocket = /tmp/.s.PGSQL.5432 > > --- > Larry Low > > _______________________________________________ > Dbmail-dev mailing list > [email protected] > http://twister.fastxs.net/mailman/listinfo/dbmail-dev > -- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl _______________________________________________ Dbmail-dev mailing list [email protected] http://twister.fastxs.net/mailman/listinfo/dbmail-dev
