Thread: Password

Password

From
Anze Cevka
Date:
Hello!

I am wondering where can I found out what is my postgre SQL password, becau=
se I forgot it.=20

Thanks for your help.

Best regards

Anze

_________________________________________________________________
Share your memories online with anyone you want.
http://www.microsoft.com/middleeast/windows/windowslive/products/photos-sha=
re.aspx?tab=3D1=

Re: Password

From
Pavel Stehule
Date:
hello

2009/8/26 Anze Cevka <anzecevka@hotmail.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.