Switching PK4 to use TCP for connecting to postgres

Questions and discussion about PokerTracker 4 for Windows

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Switching PK4 to use TCP for connecting to postgres

Postby edovale » Mon Feb 22, 2021 1:55 pm

Hi,
I have postgres already running for work and have several databases on it to which I can connect without issues from other clients.
When I try to connect PT4 to this instance of postgres it fails with the following error spitted out to the logs:

2021/02/22 12:45:36.579 [00000]: [- Main -][PostgresConnection (Error)] Unable to login to database (template1). Reason: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"?


Is there any configuration value I can provide PT4 to use TCP instead of unix sockets?

Thanks
edovale
 
Posts: 1
Joined: Mon Feb 22, 2021 1:37 pm

Re: Switching PK4 to use TCP for connecting to postgres

Postby Flag_Hippo » Tue Feb 23, 2021 1:27 pm

If you enter the IP address of the machine, the correct port and password then PokerTracker 4 should connect.
Flag_Hippo
Moderator
 
Posts: 17131
Joined: Tue Jan 31, 2012 7:50 am


Return to PokerTracker 4

Who is online

Users browsing this forum: No registered users and 0 guests