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 70A7CD1D362 for ; Mon, 2 Feb 2004 23:58:53 +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 56173-04 for ; Mon, 2 Feb 2004 19:58:52 -0400 (AST) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by svr1.postgresql.org (Postfix) with ESMTP id 2C11ED1CCCD for ; Mon, 2 Feb 2004 19:58:49 -0400 (AST) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.10/8.12.10) with ESMTP id i12NvhRC010814; Mon, 2 Feb 2004 16:57:43 -0700 (MST) Date: Mon, 2 Feb 2004 16:53:52 -0700 (MST) From: "scott.marlowe" To: Gustavo Paixao Cc: PGSQL+PHP Subject: Re: PG_CONNECT error In-Reply-To: <401EDD75.7020408@fironline.com.br> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IHS-MailScanner: Found to be clean X-IHS-MailScanner-SpamCheck: X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/10 X-Sequence-Number: 2558 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.