Re: php password authentication failed for user ...

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: basti <mailinglist(at)unix-solution(dot)de>, pgsql-general(at)postgresql(dot)org
Subject: Re: php password authentication failed for user ...
Date: 2014-07-09 13:23:06
Message-ID: 53BD423A.9080606@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 07/09/2014 06:10 AM, basti wrote:
> There are other entrys in pg_hab.conf and yes the passwd is correct.

So what are the other entries and where are they relative to the line
that you think is causing the problem?

> (psql -p ... -h ... from command line runs well).

In your first post you showed this:

psql -U user -h localhost -W database

The password supplied here could come from a .pgpass file or env
variable so it does not necessarily mean that the same password is being
used that is used in the script.

>
> I don't know whats wrong there
> host mydns mydns localhost trust
> works well and

Well no password is being asked for in the above.

>
> #host all all 0.0.0.0 0.0.0.0 md5
> did not work.

In you original post you have as the problem line:

host all all 127.0.0.1/32 md5

Have you tried both?

Just to be certain, have you done pg_ctl reload after each change?

>
> I use Postgres 9.3.4-1.pgdg70+1. (debian)
>

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ramesh T 2014-07-09 13:28:16 Re: BAKUP ISSUE
Previous Message rob stone 2014-07-09 13:19:48 Re: php password authentication failed for user ...