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: 162867790908261337y6c065785h2d57c89404d8be2f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

hello

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

regards
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

Browse pgsql-bugs by date

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