Re: confusion about user paring with pg_hba and pg_ident

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: arnaud gaboury <arnaud(dot)gaboury(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: confusion about user paring with pg_hba and pg_ident
Date: 2016-10-11 14:08:27
Message-ID: c2111544-1eb2-32da-123e-292cec5aa6f6@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/11/2016 06:47 AM, arnaud gaboury wrote:
>
>

>
>
>
> Did you remember to reload Postgres?
>
>
> YES I did it this time

My mistake, forget to look at your connection string:

psql postgres:///mattermost

You have not told Postgres what user you want mattermost to connect as.
It worked for you before, because you had this:

psql postgresql://mmuser:XXXYYYY@/mattermost?

>
>
>
>
> >
>
> > Thank you for help.
>
> >
>
> >
>
> >
>
>
>
>
>
> --
>
> Adrian Klaver
>
> adrian(dot)klaver(at)aklaver(dot)com <mailto:adrian(dot)klaver(at)aklaver(dot)com>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Lele Gaifax 2016-10-11 14:12:58 Re: Create recursive view schema.name
Previous Message arnaud gaboury 2016-10-11 13:47:35 Re: confusion about user paring with pg_hba and pg_ident