pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Markus Bertheau <mbertheau.pg@googlemail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: psql -p 5433; create database test; \c test failing
Date: Sat, 11 Mar 2006 02:41:50 -0700
Message-ID: <20060311094150.GA3593@winnie.fuhr.org> (raw)
In-Reply-To: <684362e10603110113h41e088b5q@mail.gmail.com>
References: <684362e10603110113h41e088b5q@mail.gmail.com>

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



view thread (4+ messages)  latest in thread

Message-ID: <20060311094150.GA3593@winnie.fuhr.org>
Permalink:  ../20060311094150.GA3593@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20060311094150.GA3593@winnie.fuhr.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: mike@fuhr.org, mbertheau.pg@googlemail.com
  Subject: Re: psql -p 5433; create database test; \c test failing
  In-Reply-To: <20060311094150.GA3593@winnie.fuhr.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox