Re: psql -p 5433; create database test; \c test failing - Mailing list pgsql-admin

From Michael Fuhr
Subject Re: psql -p 5433; create database test; \c test failing
Date
Msg-id 20060311094150.GA3593@winnie.fuhr.org
Whole thread Raw
In response to psql -p 5433; create database test; \c test failing  ("Markus Bertheau" <mbertheau.pg@googlemail.com>)
Responses Re: psql -p 5433; create database test; \c test failing
Re: psql -p 5433; create database test; \c test failing
List 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 by date:

Previous
From: "Markus Bertheau"
Date:
Subject: psql -p 5433; create database test; \c test failing
Next
From: "Markus Bertheau"
Date:
Subject: Re: psql -p 5433; create database test; \c test failing