Unable to connect to this database. Please check the ...

A special forum dedicated to our PT4 for Mac OS X users

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Unable to connect to this database. Please check the ...

Postby xFlo0 » Fri Mar 02, 2018 12:01 pm

Hi, I just bought PT4 and I am hardly trying to get it work. Every time I open PT4, and try to connect to PostgreSQL , this error pops up:

"Unable to connect to this database. Please check the configuration".

I already tried different passwords to connect to the server, like dbpass, postgrespass and postgres, but it still does not work. Therefore I installed PostgreSQL 10.3 manually, and another error pops up:

"Problem running post-install step. Installation may not complete correctly
The database cluster initialisation failed."

I opened the SQL Shell to get information for solving this problem. This is the result:

$ /Library/PostgreSQL/10/scripts/runpsql.sh; exit
Server [localhost]:
Database [postgres]:
Port [5432]:
Username [postgres]:
psql: could not translate host name "localhost" to address: nodename nor servname provided, or not known

Press <return> to continue...
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Prozess beendet]

I read different articles on GitHub and in this forum, for instance https://www.pokertracker.com/forums/vie ... hp?t=35451, which mentioned similar problems, but I still cannot get it to work.
Currently I am using a MacBook Pro with High Sierra 10.13.3.

Any help would be much appreciated, because I am getting really really frustrated right now...
xFlo0
 
Posts: 2
Joined: Fri Mar 02, 2018 11:24 am

Re: Unable to connect to this database. Please check the ...

Postby Flag_Hippo » Fri Mar 02, 2018 5:50 pm

Please make sure all elements of any previous PostgreSQL installs have been removed before reinstalling it. To do that you can follow this tutorial and then manually download and install PostgreSQL v9.3 available from here. Using a Mac administrator account or administrative privileges install that PostgreSQL and for the password boxes use "dbpass" (no quotes) which is what PokerTracker 4 uses by default. Once PostgreSQL installs successfully reboot your computer and then try starting PokerTracker 4 again.
Flag_Hippo
Moderator
 
Posts: 14507
Joined: Tue Jan 31, 2012 7:50 am

Re: Unable to connect to this database. Please check the ...

Postby xFlo0 » Sat Mar 03, 2018 12:37 pm

Thanks a lot, this time it worked !! I probably made a mistake in the tutorial...
xFlo0
 
Posts: 2
Joined: Fri Mar 02, 2018 11:24 am

Re: Unable to connect to this database. Please check the ...

Postby Flag_Hippo » Sat Mar 03, 2018 1:51 pm

No problem and thanks for letting me know that you got it fixed.
Flag_Hippo
Moderator
 
Posts: 14507
Joined: Tue Jan 31, 2012 7:50 am


Return to PT4 for macOS

Who is online

Users browsing this forum: No registered users and 7 guests

cron