Re: PG_CONNECT error

Lists: pgsql-php
From: Gustavo Paixao <postgresql(at)fironline(dot)com(dot)br>
To: PGSQL+PHP <pgsql-php(at)postgresql(dot)org>
Subject: PG_CONNECT error
Date: 2004-02-02 23:29:57
Message-ID: 401EDD75.7020408@fironline.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-php

Hi,

Why this error ir happening? and How to fix?

*Warning*: pg_connect(): Unable to connect to PostgreSQL server: FATAL:
IDENT authentication failed for user "fotolis" . in
*/home/fotolis/public_html/connection.php* on line *6

*Thanks,*

Gustavo Paixão
*


From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Gustavo Paixao <postgresql(at)fironline(dot)com(dot)br>
Cc: PGSQL+PHP <pgsql-php(at)postgresql(dot)org>
Subject: Re: PG_CONNECT error
Date: 2004-02-02 23:53:52
Message-ID: Pine.LNX.4.33.0402021652370.20659-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-php

On Mon, 2 Feb 2004, Gustavo Paixao wrote:

> Hi,
>
> Why this error ir happening? and How to fix?
>
> *Warning*: pg_connect(): Unable to connect to PostgreSQL server: FATAL:
> IDENT authentication failed for user "fotolis" . in
> */home/fotolis/public_html/connection.php* on line *6

Is there a postgresql user named fotolis in the database?

select * from pg_user

will tell you.


From: Gustavo Paixao <postgresql(at)fironline(dot)com(dot)br>
To: PGSQL+PHP <pgsql-php(at)postgresql(dot)org>
Subject: Re: PG_CONNECT error
Date: 2004-02-03 00:25:55
Message-ID: 401EEA93.3000407@fironline.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-php

fotolis is user in the database!!!

How may I edit pg_hba.conf and pg_ident.conf on prompt using bash.exe?

scott.marlowe wrote:

>On Mon, 2 Feb 2004, Gustavo Paixao wrote:
>
>
>
>>Hi,
>>
>>Why this error ir happening? and How to fix?
>>
>>*Warning*: pg_connect(): Unable to connect to PostgreSQL server: FATAL:
>>IDENT authentication failed for user "fotolis" . in
>>*/home/fotolis/public_html/connection.php* on line *6
>>
>>
>
>Is there a postgresql user named fotolis in the database?
>
>select * from pg_user
>
>will tell you.
>
>
>
>
>
>