--- Jaakko Niemi <[EMAIL PROTECTED]> wrote:
> Sergey Kartashoff <[EMAIL PROTECTED]> writes:
>
> > Hi!
> >
> > Saturday, March 10, 2001, 4:21:20 PM, you wrote:
> >
> >
> > JN> Hello,
> >
> > JN> I just noticed that 3.1.11 does not any more support
> > JN> old style DBName etc. commands at all. Is is possible
> > JN> to connect to the db through local unix socket rather
> > JN> than through tcp connection? Previously if DBHost was
> > JN> not set, at least with postgresql indexer fell back
> > JN> to using unix sockets.
> >
> > use localhost as a host name to use sockets.
>
> ~> indexer
> Indexer[13998]: indexer from mnogosearch-3.1.11/PgSQL started with
> '/etc/mnogosearch/indexer.conf'
> Indexer[13998]: [1] Error: 'PQconnectPoll() -- connect() failed:
> Connection refused
> Is the postmaster running (with -i) at 'localhost'
> and accepting connections on TCP/IP port '5432'?
> '
>
> In indexer.conf I have:
>
> DBAddr pgsql://mnogosearch@localhost/mnogosearch/
>
> The db is fine and everything works if I put postgresql to listen
> tcp port. Psql and other things can connect to the db just fine
> through unix socket.
>
> Same thing with 3.0.xx versions, but if I use the old style DBName,
> indexer connects to db through unix socket.
leave out the hostname
DBAddr pgsql://mnogosearch@/mnogosearch/
you might want to use a password too, depending on your db config.
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]