Page 1 of 1

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

PostPosted: Fri Mar 02, 2018 12:01 pm
by xFlo0
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...

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

PostPosted: Fri Mar 02, 2018 5:50 pm
by Flag_Hippo
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.

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

PostPosted: Sat Mar 03, 2018 12:37 pm
by xFlo0
Thanks a lot, this time it worked !! I probably made a mistake in the tutorial...

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

PostPosted: Sat Mar 03, 2018 1:51 pm
by Flag_Hippo
No problem and thanks for letting me know that you got it fixed.

highfalutin