PostgreSQL configuration - Mac OSX 10.6.8

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

PostgreSQL configuration - Mac OSX 10.6.8

Postby Aleks78 » Thu Jan 24, 2013 4:20 am

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
Aleks78
 
Posts: 3
Joined: Mon May 26, 2008 7:03 am

Re: PostgreSQL configuration - Mac OSX 10.6.8

Postby kraada » Thu Jan 24, 2013 9:28 am

Where are you getting stuck in my directions?
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: PostgreSQL configuration - Mac OSX 10.6.8

Postby Aleks78 » Thu Jan 24, 2013 9:45 am

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!
Aleks78
 
Posts: 3
Joined: Mon May 26, 2008 7:03 am

Re: PostgreSQL configuration - Mac OSX 10.6.8

Postby kraada » Thu Jan 24, 2013 12:35 pm

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.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: PostgreSQL configuration - Mac OSX 10.6.8

Postby Aleks78 » Thu Jan 24, 2013 2:40 pm

Yay, it's working! Thank you so much!
Aleks78
 
Posts: 3
Joined: Mon May 26, 2008 7:03 am


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 6 guests

cron