Page 1 of 1

PostgreSQL configuration - Mac OSX 10.6.8

PostPosted: Thu Jan 24, 2013 4:20 am
by Aleks78
Hi,

After installing Pokertracker 3 on my Macbook Pro running 10.6.8, I received an error message when PostgreeSQL was launching saying 'password authentication failed'. After searching around this forum trying to fix the issue, I came upon one post with a similar error message on mac:

https://na4.pokertracker.com/forums/vie ... 17&t=42362

...so i attempted kraada's terminal fix, but found myself confused very quickly as I didn't understand how to edit the config file (I'm a noob deluxe when it comes to terminal, unix, config files, ports etc!)

Following my attempt of fixing this myself, the current error message when launching pokertracker has changed to:
"Unable to connect to database. Please check the configuration"

Any help is highly appreciated!

Thanks,
Aleks

Re: PostgreSQL configuration - Mac OSX 10.6.8

PostPosted: Thu Jan 24, 2013 9:28 am
by kraada
Where are you getting stuck in my directions?

Re: PostgreSQL configuration - Mac OSX 10.6.8

PostPosted: Thu Jan 24, 2013 9:45 am
by Aleks78
In terminal after logging in as 'sudo su-' and typing 'nano /Library/PostgreSQL/8.4/data/pg_hba.conf', i get massive amount of text in terminal - how do i edit this text within terminal? Sorry to be a bit slow here, bad genes i guess... Thanks!

Re: PostgreSQL configuration - Mac OSX 10.6.8

PostPosted: Thu Jan 24, 2013 12:35 pm
by kraada
That drops you into a text editor called nano - you can move the cursor with the arrow keys and type normally. It's like a regular window, just you can't click on it and it's embedded in the terminal. Use the down arrow to get to the bottom to make the changes you need there.

Re: PostgreSQL configuration - Mac OSX 10.6.8

PostPosted: Thu Jan 24, 2013 2:40 pm
by Aleks78
Yay, it's working! Thank you so much!