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/