Re: connect() failed: No such file or directory - Mailing list pgsql-ports

From Jason Tishler
Subject Re: connect() failed: No such file or directory
Date
Msg-id 20010304144736.A1372@dothill.com
Whole thread Raw
In response to Re: connect() failed: No such file or directory  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-ports
Christian,

On Sun, Mar 04, 2001 at 12:17:06AM +0100, Peter Eisentraut wrote:
> 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.

The above is true for 7.0 but not for 7.1beta5.  For reasons like the
above and others, I would suggest using 7.1beta5 or CVS.

Jason

--
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

pgsql-ports by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: connect() failed: No such file or directory
Next
From: Jason Tishler
Date:
Subject: Replace Windows PostgreSQL Binary?