From: | "Shoaib Mir" <shoaibmir(at)gmail(dot)com> |
---|---|
To: | "Jasbinder Bali" <jsbali(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: postgres password |
Date: | 2006-06-15 19:15:23 |
Message-ID: | bf54be870606151215l735a0ff9i500b4ae4b059eff1@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Change the following in pg_hba.conf
host all all 127.0.0.1/32 md5
to
host all all 127.0.0.1/32 trust
and that will let you connect without password and then reload your db
server settings using 'pg_ctl reload'. You can then set the password once
connected to database using
alter user username password 'password'
Once you are done with that now you can switch back to original
authentication mode.
/Shoaib
On 6/15/06, Jasbinder Bali <jsbali(at)gmail(dot)com> wrote:
>
> Hello,
> > I'm trying to connect to the local postgres database using pgadmin. It
> > asks for a password that i never set and hence i'm not able to connect
> > to my local postgres database.
> > Also, when i click postgresql help option in the Help tab of pgadmin,
> > the pgadmin screen would close down. Don't know whats going on wrong.
> >
> > Thanks,
> > ~Jas
>
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Murtagh | 2006-06-15 19:22:09 | SOLVED: Re: UTF-8 and stripping accents |
Previous Message | Jasbinder Bali | 2006-06-15 19:05:31 | pgadmin window closes abnormally |