On Tue, 21 May 2002, ktt wrote:
> hello,
>
> Maybe you've had a similar problem with pgaccess:
> it outputs error:
> ---------------------------------------
> Error trying to connect to database
> 'friends' on host localhost
>
> PostgreSQL error
> message: Connection to database failed
> could not connect to server:
> Connectuion refused
> Is the server running on host localhost and
> accepting TCP/IP connections on port
> 5432?
> --------------------------------------
> [snip]
So, is it?
I don't know what PHP does by default but if you don't give a hostname to
pgaccess it will use the unix domain socket, which bypasses your reported
problem.
--
Nigel J. Andrews
Director
---
Logictree Systems Limited
Computer Consultants