Page 1 of 1

Cannpt connect to database

PostPosted: Wed Sep 10, 2025 10:08 pm
by rhgrove72
INstalled pt4 but i believe the installation process got corrupted at some point. Now i cannot boot up the program saying that i have the wrong configuration

Re: Cannpt connect to database

PostPosted: Thu Sep 11, 2025 4:51 pm
by Flag_Hippo
When you installed PokerTracker 4 did it ask if it could install PostgreSQL for you? If so did you notice if the PostgreSQL install completed successfully or not? PostgreSQL is the program where PokerTracker 4 will store your poker data so it needs to be installed. Click your Windows Start button then type the following command:

services.msc

and click on it when it appears. Do you see the PostgreSQL service in the list? What version is it? Is it started, or can you start it? What is its 'Status' and 'Startup Type'? If the PostgreSQL service is listed but not starting then open the Event Viewer (in the same way - if you type 'event' you should see it). In the top left section, expand "Windows Logs" and click on "Application". Do you see any recent errors in the top center section for PostgreSQL? If you do let us know what they say.

If the PostgreSQL service is not listed then it will need to be installed manually (v16) and you can install it by following this guide:

Guide: Installing PostgreSQL

Re: Cannpt connect to database

PostPosted: Fri Sep 12, 2025 10:30 am
by yaol
Flag_Hippo wrote:When you installed PokerTracker 4 did it ask if it could install PostgreSQL for you? If so did you notice if the PostgreSQL install completed successfully or not? PostgreSQL is the program where PokerTracker 4 will store your poker data so it needs to be installed. Click your Windows Start button then type the following command:

services.msc

and click on it when it appears. Do you see the PostgreSQL service in the list? What version is it? Is it started, or can you start it? What is its 'Status' and 'Startup Type'? If the PostgreSQL service is listed but not starting then open the Event Viewer (in the same way - if you type 'event' you should see it). In the top left section, expand "Windows Logs" and click on "Application". Do you see any recent errors in the top center section for PostgreSQL? If you do let us know what they say.

If the PostgreSQL service is not listed then it will need to be installed manually (v16) and you can install it by following this guide:

Guide: Installing PostgreSQL

Hello!
I have the same problem.
When installing PT4, PostrSQL was not detected.
Installing PostrSQL was not suggested.
I installed postgresql-17.6-1-windows-x64 myself.
It didn't help.
Even with PostrSQL installed, the same error appeared.
I use an online translator.
Please keep your sentences as simple as possible.

Re: Cannpt connect to database

PostPosted: Fri Sep 12, 2025 10:53 am
by Flag_Hippo
yaol wrote:I installed postgresql-17.6-1-windows-x64 myself.

As per my original reply and as mentioned in the guide you should install PostgreSQL v16. PostgreSQL v17+ is not supported so please uninstall it and install PostgreSQL v16 instead.