Re: connect() failed: No such file or directory

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: connect() failed: No such file or directory
Дата
Msg-id Pine.LNX.4.30.0103040016040.937-100000@peter.localdomain
обсуждение исходный текст
Ответ на connect() failed: No such file or directory  (Christian Thrum <c.thrum@intershop.de>)
Ответы Re: connect() failed: No such file or directory
Список pgsql-ports
Christian Thrum writes:

> $ ./createdb testdb
> psql: connectDBStart() -- connect() failed: No such file or directory
>         Is the postmaster running at 'localhost'
>         and accepting connections on Unix socket '5432'?
> createdb: database creation failed

Quoth the FAQ_NT:

: NOTE:
: By default, PostgreSQL clients like psql communicate using unix domain
: sockets, which don't work on NT.  Start the postmaster with -i, and
: when connecting to the database from a client, set the PGHOST
: environment variable to 'localhost' or supply the hostname on the
: command line.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


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

Предыдущее
От: Christian Thrum
Дата:
Сообщение: connect() failed: No such file or directory
Следующее
От: Jason Tishler
Дата:
Сообщение: Re: connect() failed: No such file or directory