On Sun, 2002-11-17 at 20:25, Andrew Tuson wrote:
...
> My query is concerning PostgreSQL Access. When I open it none of the icons
> work and I assume that I have to use Database/Open to tell it the name of my
> database. The Host is shown as localhost and the Port is set to 5432. No
> matter what I enter in the other icons I get the following error message:
>
> Connection to database failed
> could not connect to server: Connection refused
> Is the server running on host localhost and
> accepting TCP/IP connections on port 5432?
Presumably you did not start the postmaster with -i, or else your
settings in $PGDATA/pg_hba.conf do not allow TCP/IP access from
localhost.
The easiest solution is to remove "localhost" from the Host field and
leave that blank. The connection should then use the Unix socket rather
than TCP/IP.
--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight, UK
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"A Song for the sabbath day. It is a good thing to
give thanks unto the LORD, and to sing praises unto
thy name, O most High." Psalms 92:1