Skip site navigation (1) Skip section navigation (2)

Re: Password

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Anze Cevka <anzecevka(at)hotmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Password
Date: 2009-08-26 20:37:38
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs

2009/8/26 Anze Cevka <anzecevka(at)hotmail(dot)com>:
> Hello!
> I am wondering where can I found out what is my postgre SQL password,
> because I forgot it.

you have to add line to pg_hba.conf file for postgresql user.

from local change authentication method to trust (attention - from
this moment, your database is unsecured!!!). Reload, then you can
login to database as postgres - password will be ignored.

execute SQL: ALTER USER postgres PASSWORD 'newpaswd';

change authentication back for local (ident or md5)!!!! reload

Pavel Stehule

> Thanks for your help.
> Best regards
> Anze
> ________________________________
> Share your memories online with anyone you want anyone you want.

In response to

  • Password at 2009-08-26 20:25:25 from Anze Cevka

pgsql-bugs by date

Next:From: Greg StarkDate: 2009-08-26 20:46:12
Subject: Re: BUG #5012: mailing list VERP addresses not sender-verifiable
Previous:From: Magnus HaganderDate: 2009-08-26 20:25:49
Subject: Re: BUG #5008: Server Startup Problem - When server is configured for SSL

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group