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

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Markus Bertheau <mbertheau(dot)pg(at)googlemail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: psql -p 5433; create database test; \c test failing
Date: 2006-03-11 09:41:50
Message-ID: 20060311094150.GA3593@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Markus Bertheau 2006-03-11 09:46:19 Re: psql -p 5433; create database test; \c test failing
Previous Message Markus Bertheau 2006-03-11 09:13:49 psql -p 5433; create database test; \c test failing