On Tue, 2004-06-22 at 10:29, PostgreSQL Bugs List wrote:
...
> Description:        PHP connection
> 
> Details: 
> 
> The error report is :
> FATEL: IDENT authentication failed for user "postgres"
> I am a new user. pls help me....

You must ensure that the authentication options are set correctly in
$PGDATA/pg_hba.conf.  This file is described in chapter 19 of the manual
(Client Authentication).

Presumably PHP is running from a webserver.  In that case, you cannot
use "ident sameuser" authentication  to give access to any user but the
one under whose identity the webserver itself is running.  If you want
to have different users connecting through the webserver, you will have
to use some kind of password authentication instead.

-- 
Oliver Elphick                                          [EMAIL PROTECTED]
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
                 ========================================
     "Therefore being justified by faith, we have peace with
      God through our Lord Jesus Christ."       Romans 5:1 


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to