Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 8ABAF9FC059 for ; Wed, 8 Aug 2007 10:57:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 71064-08 for ; Wed, 8 Aug 2007 10:57:13 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from bay0-omc3-s7.bay0.hotmail.com (bay0-omc3-s7.bay0.hotmail.com [65.54.246.207]) by postgresql.org (Postfix) with ESMTP id 09DAA9FC04A for ; Wed, 8 Aug 2007 10:57:13 -0300 (ADT) Received: from BAY120-W11 ([207.46.9.174]) by bay0-omc3-s7.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Wed, 8 Aug 2007 06:57:12 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_55b966b7-798c-47c6-8e5b-a0bbfe332a83_" X-Originating-IP: [207.164.182.8] From: Julio Leyva To: "Dr. Lal Bopearachchi" , Subject: Re: Postgresql Login problem Date: Wed, 8 Aug 2007 13:57:12 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 08 Aug 2007 13:57:12.0510 (UTC) FILETIME=[050FFDE0:01C7D9C4] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.47 tagged_above=0 required=5 tests=AWL=0.654, BAYES_40=-0.185, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200708/66 X-Sequence-Number: 26397 --_55b966b7-798c-47c6-8e5b-a0bbfe332a83_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Check your pg_hba.conf file if the method is password, then create a paswor= d for postgres userpsql yourdbalter user postgres set password =3D 'paswor= d'if you don't want to do that, change pg_hba.conf file and modify the meth= od to trustthen /etc/init.t/./postgresql reloadHope this will helpSubject: = [ADMIN] Postgresql Login problemDate: Fri, 3 Aug 2007 12:54:10 +0600From: l= al@apiit.lkTo: pgsql-admin@postgresql.org=0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= I am trying to use PostgreSQL ver. 8.1.4 that comes with Red=0A= Hat Enterprise Linux 5.=0A= =0A= I cannot log into the postgres server as postgres, it gives=0A= the error message =93password authentication failed for user =93postgres=94= .=0A= =0A= =0A= =0A= Is there a default password?=0A= =0A= =0A= =0A= How can I start working with postgres?=0A= =0A= =0A= =0A= Regards.=0A= =0A= =0A= =0A= Lal Bopearatchy=0A= =0A= =0A= =0A= =0A= =0A= =0A= --_55b966b7-798c-47c6-8e5b-a0bbfe332a83_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable

Check your pg_hba.conf fil= e
if the method is password, then create a pasword for postgres user
psql yourdb
alter user postgres  set password =3D 'pasword'
if you don't want to do that, change pg_hba.conf file and modify the m= ethod to trust

then /etc/init.t/./postgresql reload

Hope this= will help






Su= bject: [ADMIN] Postgresql Login problem
Date: Fri, 3 Aug 2007 12:54:10 += 0600
From: lal@apiit.lk
To: pgsql-admin@postgresql.org

=0A= =0A= =0A= = =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A=
=0A= =0A=

I am trying to use PostgreSQL ver. 8.1.= 4 that comes with Red=0A= Hat Enterprise Linux 5.

=0A= =0A=

I cannot log into the postgres server a= s postgres, it gives=0A= the error message =93password authentication failed for user =93postgres=94= .

=0A= =0A=

 

=0A= =0A=

Is there a default password?

=0A= =0A=

 

=0A= =0A=

How can I start working with postgres?<= /span>

=0A= =0A=

 

=0A= =0A=

Regards.

=0A= =0A=

 

=0A= =0A=

Lal Bopearatchy

=0A= =0A=
=0A= =0A= =0A= =0A= =0A=
= --_55b966b7-798c-47c6-8e5b-a0bbfe332a83_--