Re: Help with PostgreSQL Access

Поиск
Список
Период
Сортировка
От Oliver Elphick
Тема Re: Help with PostgreSQL Access
Дата
Msg-id 1037580769.1000.565.camel@linda
обсуждение исходный текст
Ответ на Help with PostgreSQL Access  (Andrew Tuson <andy@forum.demon.co.uk>)
Список pgsql-novice
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


В списке pgsql-novice по дате отправления:

Предыдущее
От: "Josh Berkus"
Дата:
Сообщение: Re: Help with PostgreSQL Access
Следующее
От: "Jules Alberts"
Дата:
Сообщение: run shell command from pl/pgsql