Thread: PG_CONNECT error

PG_CONNECT error

From
Gustavo Paixao
Date:
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

Re: PG_CONNECT error

From
"scott.marlowe"
Date:
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.


Re: PG_CONNECT error

From
Gustavo Paixao
Date:
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.