[rt-users] configuring rt to use postgres socket
Les Mikesell
les at futuresource.com
Tue Aug 9 00:44:05 EDT 2005
On Mon, 2005-08-08 at 22:07, Jeremy Mates wrote:
> * Law Mitchell <lawmit at gmail.com>
> > what must i change in the rt scripts to have rt connect to the
> > postgres socket instead of port 5432
>
> Try setting $DatabaseHost to an empty string in RT_SiteConfig.pm:
>
> Set( $DatabaseHost, '' );
I don't know if it is still true, but the perl DBD::Pg module used
to require a connection on a tcp port. It may not be possible
to use unix domain sockets. You can bind to the 127.0.0.1
address if you want to make sure connection are not accepted
from other machines.
--
Les Mikesell
les at futuresource.com
More information about the rt-users
mailing list