[Mod_log_sql] configuration using libdbi
Edward Rudd
urkle at outoforder.cc
Mon Apr 23 21:32:52 EDT 2007
According to the libdbi documentation
http://libdbi-drivers.sourceforge.net/docs/dbd_pgsql/options.html
You specify the path to the unix socket as the host.
so
pgsql://user:pass@%2fvar%2flib%2fpgsql%2fpgsql.sock/database
Should work and specify a socket of
/var/lib/pgsql/pgsql.sock
IF that doesn't work you can manually specify the settings using
LogSQLDBParam .. ie.
LogSQLDBParam hostname /var/lib/pgsql/pgsql.sock
James Cloos wrote:
> When using mod_log_sql with dbi and pgsql, what is the proper syntax for
> LogSQLLoginInfo to have it use the unix socket?
>
> Everything else is well documented, but I cannot find any docs on that,
> and a perusal of the src didn't enlighten.
>
> Thanks,
>
> -JimC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.outoforder.cc/pipermail/mod_log_sql/attachments/20070423/6ed41b20/attachment.bin
More information about the Mod_log_sql
mailing list