Re: I lost my password

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: papa(at)arbolone(dot)ca, PostGreSQL MailingList <pgsql-general(at)postgresql(dot)org>
Subject: Re: I lost my password
Date: 2015-07-27 03:01:02
Message-ID: 55B59EEE.8010304@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 07/26/2015 07:51 PM, papa(at)arbolone(dot)ca wrote:
> After installing PostgreSQL I lost the password, how can I recover it?

What OS?

How did you install?

What password are you talking about?

Assuming you are talking about a Postgres password, take a look at:

http://www.postgresql.org/docs/9.4/interactive/auth-pg-hba-conf.html

From there you can set the local connection to trust and then access
Postgres. From there you can reset the password using ALTER USER:

http://www.postgresql.org/docs/9.4/interactive/sql-alteruser.html

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John McKown 2015-07-27 03:02:36 Re: I lost my password
Previous Message Yves Dorfsman 2015-07-27 02:57:20 Re: I lost my password