Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-ports by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group