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

From Peter Eisentraut
Subject Re: connect() failed: No such file or directory
Date
Msg-id Pine.LNX.4.30.0103040016040.937-100000@peter.localdomain
Whole thread Raw
In response to connect() failed: No such file or directory  (Christian Thrum <c.thrum@intershop.de>)
Responses Re: connect() failed: No such file or directory
List pgsql-ports
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.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


pgsql-ports by date:

Previous
From: Christian Thrum
Date:
Subject: connect() failed: No such file or directory
Next
From: Jason Tishler
Date:
Subject: Re: connect() failed: No such file or directory