X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id D4F12D1D412 for ; Tue, 3 Feb 2004 00:26:48 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 66547-01 for ; Mon, 2 Feb 2004 20:26:44 -0400 (AST) Received: from ibague.terra.com.br (ibague.terra.com.br [200.154.55.225]) by svr1.postgresql.org (Postfix) with ESMTP id C8D24D1D362 for ; Mon, 2 Feb 2004 20:26:40 -0400 (AST) Received: from paramonga.terra.com.br (paramonga.terra.com.br [200.154.55.133]) by ibague.terra.com.br (Postfix) with ESMTP id D9E73EC575 for ; Mon, 2 Feb 2004 22:26:42 -0200 (BRST) Received: from fironline.com.br (cm-tvcidade-rec-C8B14B69.brdterra.com.br [200.177.75.105]) (authenticated user gtrmp) by paramonga.terra.com.br (Postfix) with ESMTP id 32AB83C067 for ; Mon, 2 Feb 2004 22:26:42 -0200 (BRST) Message-ID: <401EEA93.3000407@fironline.com.br> Date: Mon, 02 Feb 2004 21:25:55 -0300 From: Gustavo Paixao User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en, pt-br MIME-Version: 1.0 To: PGSQL+PHP Subject: Re: PG_CONNECT error References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------000608090602030100040803" X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/11 X-Sequence-Number: 2559 This is a multi-part message in MIME format. --------------000608090602030100040803 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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. > > > > > > --------------000608090602030100040803 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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.




  

--------------000608090602030100040803--