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

Re: createuser fails

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: psuri(at)netcom-sys(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: createuser fails
Date: 2000-09-08 22:25:03
Message-ID: Pine.LNX.4.21.0009081938590.345-100000@localhost.localdomain (view raw or flat)
Thread:
Lists: pgsql-bugs
pgsql-bugs(at)postgresql(dot)org writes:

> I am trying to install postgres on windows nt .
> initdb worked fine , and also the createdb command.
> But when i run any command like  createuser etc, i get the 
> following error
> psql: connectDBStart() -- socket() failed: errno=106
> Addresses in the specified family cannot be used with this socket

Try `createuser -h localhost ...'. By default, it uses Unix domain
sockets, which don't work on NT. (Hence, "specified family [namely
AF_UNIX] cannot be used...".)

Setting the environment variable PGHOST=localhost might be a good idea as
well.

-- 
Peter Eisentraut      peter_e(at)gmx(dot)net       http://yi.org/peter-e/


In response to

pgsql-bugs by date

Next:From: pgsql-bugsDate: 2000-09-09 06:29:44
Subject: Backend crash trying to delete rows
Previous:From: pgsql-bugsDate: 2000-09-08 16:00:51
Subject: createuser fails

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