Re: PHPpgadmin and user privileges

From: "Nikolay Samokhvalov" <samokhvalov(at)gmail(dot)com>
To: "Alain Roger" <raf(dot)news(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PHPpgadmin and user privileges
Date: 2006-06-29 13:03:59
Message-ID: e431ff4c0606290603i66da3080l1a9ecb6ac70cbf49@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 6/29/06, Alain Roger <raf(dot)news(at)gmail(dot)com> wrote:
> Hi,
>
> I would like to provide access to PostgreSQL via PHPpgadmin.
>
> basically when user will enter login + password, he will connect directly to
> his database.
> what i've done till now, it does not work.
>
> when user enter login and password, phppgadmin returns "Login failed".
> my user hasfor profile "kmt_admin" which belong to "kmt_ad" group role" and
> which is owner of "kmt" database.
>
> Could you tell where to check to avoid such error ?

check your pg_hba.conf
http://www.postgresql.org/docs/7.3/static/client-authentication.html#AUTH-PG-HBA-CONF

most probably that you've forgotten to allow connections from that
host where phppgadmin is installed

--
Best regards,
Nikolay

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mehdi Aboulkassim 2006-06-29 13:10:03 Script for reading flat file without delimiters
Previous Message Alain Roger 2006-06-29 12:59:48 phppgadmin