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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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