Error connecting to default database

Questions and discussion about PokerTracker 4 for Windows

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Error connecting to default database

Postby DiscoDD » Tue Oct 01, 2024 8:07 am

Hello...I have not been able to connect to PT4 with error messages coming up...I have uninstalled and reinstalled PT4 and PostgreSQL..

I am now getting an error msg..".Error connecting to the default database" then a box saying " Please connect a valid database" but it doesnt connect then if i select " New" another error box comes up saying "Unable to create PostgreSQL database"

Thankyou,
David Davis
DiscoDD
 
Posts: 29
Joined: Sun Mar 02, 2008 5:25 pm

Re: Error connecting to default database

Postby Flag_Hippo » Tue Oct 01, 2024 1:18 pm

When you reinstalled PostgreSQL did it say it installed successfully or not? 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? Is it started, or can you start it? What is its 'Status' and 'Startup Type'? If the PostgreSQL service is not listed at all then it will need to be installed and we have a guide for that here. 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.
Flag_Hippo
Moderator
 
Posts: 17057
Joined: Tue Jan 31, 2012 7:50 am

Re: Error connecting to default database

Postby DiscoDD » Wed Oct 02, 2024 9:33 am

Hello...thx for your reply.....Undrr services.msc it shows for postgressql-x64-17 - PostgreSQL Server 17 Status = Running, Startup = Automatic

There is nothing showing in the event viewer...there are no errors under Source PostgreSQL...

Thankyou....So when I try to open PT4 I am getting the error boxes coming up

Thankyou,

David
DiscoDD
 
Posts: 29
Joined: Sun Mar 02, 2008 5:25 pm

Re: Error connecting to default database

Postby Flag_Hippo » Wed Oct 02, 2024 2:00 pm

PostgreSQL v17 isn't supported by PokerTracker 4 so please uninstall it and install PostgreSQL v16 instead - see this guide.
Flag_Hippo
Moderator
 
Posts: 17057
Joined: Tue Jan 31, 2012 7:50 am

Re: Error connecting to default database

Postby DiscoDD » Mon Oct 07, 2024 6:00 pm

Thankyou...I'll give that a try..
DiscoDD
 
Posts: 29
Joined: Sun Mar 02, 2008 5:25 pm


Return to PokerTracker 4

Who is online

Users browsing this forum: No registered users and 44 guests