Re: createuser fails

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: createuser fails
Дата
Msg-id
Pine.LNX.4.21.0009081938590.345-100000@localhost.localdomain
Ответ на
createuser fails (pgsql-bugs@postgresql.org)
Список
Дерево обсуждения
createuser fails pgsql-bugs@postgresql.org
Re: createuser fails Peter Eisentraut <peter_e@gmx.net>
pgsql-bugs@postgresql.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@gmx.net       http://yi.org/peter-e/
В списке pgsql-bugs по дате отправления
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: createuser fails
От: pgsql-bugs@postgresql.org
Дата:
FAQ