Recover Lost Postgres Password

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

Recover Lost Postgres Password

Postby Ill3git » Fri Mar 14, 2008 11:29 pm

I can't remember my Postgres password. Is there anyway I can find out what it is?
Ill3git
 
Posts: 3
Joined: Fri Mar 14, 2008 11:25 pm

Re: Recover Lost Postgres Password

Postby APerfect10 » Sat Mar 15, 2008 12:51 am

There is no way to recover it but we can tell PostgreSQL to not require a password.

Go Start->Programs->PostgreSQL->Configuration Files->Edit pg_hba.conf

At the bottom of the file there are two lines that end with 'md5'. Change 'md5' to 'trust'. File->Save

Then go Start->Programs->PostgreSQL->Reload Configurations

You can now omit the password field as it is not required.

Best regards,

Derek
APerfect10
Site Admin
 
Posts: 4463
Joined: Sat Dec 08, 2007 6:03 pm


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 12 guests

cron
highfalutin