what is the password for the postgresql connection

Hold'em or Poker Tracker Hold'em related posts go here

what is the password for the postgresql connection

Postby caneilan » Tue Aug 11, 2009 8:33 am

what is the password for the postgresql connection? I accidently removed it and now I need to reenter it to use pt2.

Thank you
caneilan
 
Posts: 6
Joined: Wed Mar 12, 2008 12:42 am

Re: what is the password for the postgresql connection

Postby ptrack pat » Tue Aug 11, 2009 5:22 pm

You would have entered that password when you installed PostgreSQL so I don't know what it is. Go to the Start > Programs > PostgreSQL > Configuration Files > Edit pg_hba.conf

At the bottom, replace both places where it says "md5" to say "trust" and save. Then you can enter whatever password you want into the PostgreSQL settings field and it won't give an error.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: what is the password for the postgresql connection

Postby caneilan » Wed Aug 12, 2009 6:45 am

Pat:

Thank you for taking the time to answer my questions. I have another problem though. When I enter the word trust and then go to save the file it says (save as) "files\postgresql\8.2\data\pg_hba.conf file. make sure that path and file name are correct" Then it goes to another screen that says "saves as" and then it says do u want to replace it because it already exists, if i hit yes it goes back to the first prompt, its just a circle. What am i doing wrong here and can you help me out?
caneilan
 
Posts: 6
Joined: Wed Mar 12, 2008 12:42 am

Re: what is the password for the postgresql connection

Postby ptrack pat » Wed Aug 12, 2009 7:05 am

Are you using Vista? If so, you need to right-click on "Edit pg_hba.conf" on the menu and select "Run as administrator" in order to edit it.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: what is the password for the postgresql connection

Postby gediminas » Thu Aug 13, 2009 4:32 pm

start > administrative tools > computer management > system tools > local users and groups > users

rightclick on postgres > set password > proceed > enter new password > ok

restart setup.

good luck.
gediminas
 
Posts: 1
Joined: Thu Aug 13, 2009 3:45 pm

Re: what is the password for the postgresql connection

Postby ptrack pat » Thu Aug 13, 2009 5:33 pm

gediminas wrote:start > administrative tools > computer management > system tools > local users and groups > users

rightclick on postgres > set password > proceed > enter new password > ok

restart setup.

good luck.


This is for changing the user that starts the PostgreSQL service when you start your computer, it doesn't have anything to do with the database user/passoword and isn't what this user needs to do.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm


Return to PokerTracker Holdem

Who is online

Users browsing this forum: No registered users and 15 guests

cron
highfalutin