Re: PG_CONNECT error

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
Thread:
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.

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Gustavo Paixao 2004-02-03 00:25:55 Re: PG_CONNECT error
Previous Message Paul & Natalie T 2004-02-02 23:49:04 Re: Load Image from File to Store in ByteA Field