Re: connect() failed: No such file or directory

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: Christian Thrum <c(dot)thrum(at)intershop(dot)de>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, "'pgsql-ports(at)postgresql(dot)org'" <pgsql-ports(at)postgresql(dot)org>
Subject: Re: connect() failed: No such file or directory
Date: 2001-03-04 19:47:36
Message-ID: 20010304144736.A1372@dothill.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Jason Tishler 2001-03-04 19:53:58 Replace Windows PostgreSQL Binary?
Previous Message Annett Maskow und Andreas Kühl 2001-03-03 23:52:47 make fails on Winnt4