Skip site navigation (1) Skip section navigation (2)

Re: Forgot Root Password

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Ray Stell <stellr(at)cns(dot)vt(dot)edu>
Cc: Kranti K K Parisa? <kranti(dot)parisa(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Forgot Root Password
Date: 2008-04-26 15:09:15
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
Ray Stell wrote:
> On Sat, Apr 26, 2008 at 11:00:35AM +0530, Kranti K K Parisa? wrote:
>> Can anyone suggest a way to retrieve/update the postgres root password ?
> edit pg_hba.conf so that localhost connections from localhost are trusted maybe like
> this:
> host    all         all          trust
> you have to restart, but then you can do an alter user and so can all the other local
> users.

You do not need to restart, just reload.

pg_ctl -D data reload

Joshua D. Drake

In response to

pgsql-admin by date

Next:From: Tom LaneDate: 2008-04-26 17:21:42
Subject: Re: Forgot Root Password
Previous:From: Craig McElroyDate: 2008-04-26 12:56:30
Subject: Re: Forgot Root Password

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group