Re: Forgotten Password

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Juan Pablo Hernandez <juanpablo(dot)hernandez(at)usm(dot)cl>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Forgotten Password
Date: 2006-05-03 13:40:18
Message-ID: 20060503134018.GA29954@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Sat, Apr 29, 2006 at 19:15:16 -0400,
Juan Pablo Hernandez <juanpablo(dot)hernandez(at)usm(dot)cl> wrote:
> Hi, I installed PostgreSQL in my PC (windows XP) a few weeks ago and I
> can´t remember the password for the user 'postgres' so I can't access
> the local database. I can uninstall PostgreSQL but I don't know if I
> will be able to reinstall it since I have the McAfee antivirus
> installed. Is there a super user in PostgreSQL I can use to change the
> passwords? Is there another solution?
> Thank You.

Edit hba.conf to allow postgres to login without a password from some
safe location and restart the server. Once you are in change the password,
restore hba.conf and restart again.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Bruno Wolff III 2006-05-03 13:44:09 Re: Tracking progress of (plpgsql?) operations
Previous Message Joao Miguel Ferreira 2006-05-03 11:02:18 database size grows (even after vacuum (full and analyze))....