Re: forgot password

From: Adarsh Sharma <adarsh(dot)sharma(at)orkash(dot)com>
To: Tim <elatllat(at)gmail(dot)com>
Cc: Rick Visser <rickvisser86(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: forgot password
Date: 2011-06-20 06:28:13
Message-ID: 4DFEE87D.6040705@orkash.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

U can also start Postgres with skip-grant-tables option and thenafter
change the password

fore.g;

bin/psql -Upostgres --skip-grant-tables

Tim wrote:
> Hi Rick,
>
> Firstly there are likely to be an OS postgres user and a DB postgres user.
> How you reset the OS user depends on if you are using windows or
> linux, and should be learned elsewhere.
> Removing PostgreSQL was not the correct thing to do but If you reset
> or remove the postgres user from your OS you will be able to reinstall
> PostgresQL. You will need to install the same version you had before
> if you want to keep your data.
>
> To reset the DB postgres user change your pg_hba.conf to trust,
> restart PostgreSQL, connect and change the password:
> ALTER USER postgres WITH PASSWORD 'postgres';
>
> You should ask elsewhere for problems related to "Hold'em Manager".
>
> "127001" should be "127.0.0.1"
>
> You might consider learning some basics instead of gambling on other
> peoples advise.
>
> On Sun, Jun 19, 2011 at 3:26 PM, Rick Visser <rickvisser86(at)gmail(dot)com
> <mailto:rickvisser86(at)gmail(dot)com>> wrote:
>
> Hi,
> 127001
> today I wanted to login on Holdem Manager when the message popped
> up that my computer "failed to connect server 127001". I looked
> the net for sollutions, tried a few, including deleting postregql
> wich i tried and all didn;t work. While I tried to reinstall
> postregql it asked for my password. And now I forgot AND i believe
> all my postregql-files are deleted from my computer. What should I do?
> Hopefully you can help me,
>
> Thanks in forward and kind regards,
>
> Rick
>
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Nils Gösche 2011-06-20 13:23:33 How to pg_upgrade an 8.4.3 Installation
Previous Message Tim 2011-06-20 06:05:00 Re: forgot password