Re: Getting started with first user.

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: Getting started with first user.
Дата
Msg-id 4a784095-414e-65f5-f24c-1c5d883fa5b8@iol.ie
обсуждение исходный текст
Ответ на Getting started with first user.  (Agnar Renolen <agnar.renolen@gmail.com>)
Список pgsql-general
On 09/01/18 09:48, Agnar Renolen wrote:
> Then trying with the -U postgres option.
> 
> root> createuser -U postgres me
> createuser: could not connect to database postgres: FATAL: Peer 
> authentication failed for user "postgres"

You need to specify the host as well, to force a TCP/IP connection:

   createuser -U postgres -h localhost me

The default pg_hba.conf on Debian uses a Unix socket and peer 
authentication, hence the error you're seeing.

Ray.

-- 
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie


В списке pgsql-general по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: RES: help with generation_series in pg10
Следующее
От: Vitaliy Garnashevich
Дата:
Сообщение: Re: Number of rows returned by Sort node