Re: psql -p 5433; create database test; \c test failing

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: psql -p 5433; create database test; \c test failing
Дата
Msg-id 20060311094150.GA3593@winnie.fuhr.org
обсуждение исходный текст
Ответ на psql -p 5433; create database test; \c test failing  ("Markus Bertheau" <mbertheau.pg@googlemail.com>)
Ответы Re: psql -p 5433; create database test; \c test failing  ("Markus Bertheau" <mbertheau.pg@googlemail.com>)
Re: psql -p 5433; create database test; \c test failing  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-admin
On Sat, Mar 11, 2006 at 03:13:49PM +0600, Markus Bertheau wrote:
> template1=# \c test
> could not connect to server: No such file or directory
>         Is the server running locally and accepting
>         connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> Previous connection kept
>
> Why is it trying to use 5432? Am I missing something?

Do you have the PGPORT environment variable set to 5432?

--
Michael Fuhr

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

Предыдущее
От: "Markus Bertheau"
Дата:
Сообщение: psql -p 5433; create database test; \c test failing
Следующее
От: "Markus Bertheau"
Дата:
Сообщение: Re: psql -p 5433; create database test; \c test failing