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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Christian Thrum <c(dot)thrum(at)intershop(dot)de>
Cc: "'pgsql-ports(at)postgresql(dot)org'" <pgsql-ports(at)postgresql(dot)org>
Subject: Re: connect() failed: No such file or directory
Date: 2001-03-03 23:17:06
Message-ID: Pine.LNX.4.30.0103040016040.937-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Annett Maskow und Andreas Kühl 2001-03-03 23:52:47 make fails on Winnt4
Previous Message Samuel Sanchez 2001-03-03 22:34:42 PostgreSQL