Re: pg_hba.conf : bad entry for ADDRESS

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: pg_hba.conf : bad entry for ADDRESS
Дата
Msg-id 3823e032-1054-b104-2000-4bfc17396572@commandprompt.com
обсуждение исходный текст
Ответ на pg_hba.conf : bad entry for ADDRESS  (arnaud gaboury <arnaud.gaboury@gmail.com>)
Ответы Re: pg_hba.conf : bad entry for ADDRESS  (arnaud gaboury <arnaud.gaboury@gmail.com>)
Список pgsql-general
On 08/25/2016 07:18 AM, arnaud gaboury wrote:
> I am deploying mattermost on my machine following their documentation[0].

> There is a public IP with a domain name (http works OK).
>
> I entered this line in pg_hab.conf:

I assume you mean pg_hba.conf

> ------------------------------
>  host     mattermost         mmuser      127.0.0.1       md5
> --------------------------------------------------------
>

Make sure that is the *only* line referencing 127.0.0.1.


> Now when testing:
> --------------------------------------
> % psql --host=127.0.0.1 --dbname=mattermost --username=mmuser --password
> Password for user mmuser:
> psql: FATAL:  no pg_hba.conf entry for host "127.0.0.1", user
> "mmuser", database "mattermost", SSL off
> ------------------------------------

Did you reload PostgreSQL? That is how you tell PostgreSQL to reread the
pg_hba.conf.

FTR: I have deployed Mattermost and it works wonderfully.

JD



--
Command Prompt, Inc.                  http://the.postgres.company/
                         +1-503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Everyone appreciates your honesty, until you are honest with them.


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

Предыдущее
От: "Ilya Kazakevich"
Дата:
Сообщение: Re: pg_hba.conf : bad entry for ADDRESS
Следующее
От: arnaud gaboury
Дата:
Сообщение: Re: pg_hba.conf : bad entry for ADDRESS