"Database "PT3 DB" does not exist" error

Experiencing technical difficulties? Think you've found a problem with PokerTracker 3? Report it here.

Moderator: Moderators

"Database "PT3 DB" does not exist" error

Postby IWantADiscount » Wed Nov 26, 2008 12:08 am

Hi,

I have recently installed PT3 to try it out. As it was installing, it installed a Postgre 8.3 DB. To convert from PT2's Access DB I installed Postgre 8.2 and converted PT2's Access DB to Postgre.

Right now PT3 says:
Unable to loging to database (PT3 DB). Reason: FATAL: database "PT3 DB" does not exist.

When I run "net.exe start pgsql-8.3" command, it gives me this:
The PostgreSQL Database Server 8.3 service is starting.
The PostgreSQL Database Server 8.3 service could not be started.
The service did not report an error.
More help is available by typing NET HELPMSG 3534.

However, I can see both databases through PgAdmin III, which seems to be able to connect to both of them despite the fact that PGSQL8.3 service is not running(?)

What can do to get PT3 to work with Postgre 8.3?
IWantADiscount
 
Posts: 20
Joined: Fri Oct 17, 2008 5:34 pm

Re: "Database "PT3 DB" does not exist" error

Postby WhiteRider » Wed Nov 26, 2008 4:54 am

You probably have 8.2 and 8.3 running on different ports? 5432 and 5433?
This sounds like 8.2 is actually running, so PT3 is connecting to 8.2 and finding the 8.2 databases but not 8.3.
Try stopping the 8.2 service and start the 8.3 service. You should be able to do this via the Start menu, but if you don't have sections for both versions you might need to go to the Control Panel -> Administrative Tools -> Services.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: "Database "PT3 DB" does not exist" error

Postby IWantADiscount » Wed Nov 26, 2008 12:37 pm

Yes, PT2's 8.2 DB is actually running, I would assume that both 8.2 and 8.3 need to be running to convert PT2 DB to PT3 format.

I did think that the ports are a problem, however it seems that PT2's DB's port is fixed at 5432 and PT3's trial version does not allow me to change the database settings (such as changing the port to 5433). As much as I want to buy PT3, I really want to make sure that my old database works with it.
IWantADiscount
 
Posts: 20
Joined: Fri Oct 17, 2008 5:34 pm

Re: "Database "PT3 DB" does not exist" error

Postby WhiteRider » Wed Nov 26, 2008 2:56 pm

You would only need to have one postgres service running to convert your database, but if that is 8.2 then you would have an 8.2 database in PT3.
I think you can have both services running at the same time, but then if PT3 was using 8.3 I don't know whether it would connect correctly to the 8.2 service to access your PT2 DB.

Probably the easiest way to do it would be to run PT2 and Export Hand Histories to File, then stop PT2 and 8.2 and start 8.3 and use Manual Import to import the files.

You can configure PT3 to use 5433 if you open the config file:
C:\Program Files\PokerTracker 3\Data\Config\PokerTracker.cfg
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: "Database "PT3 DB" does not exist" error

Postby IWantADiscount » Wed Nov 26, 2008 6:44 pm

Thanks for the advices.

I've changed PT3's DB to use 5433 port and both services have now been started. I've also put this in PokerTracker.cfg:
[Database]
Default.Postgres.Port=5433

However, PT3 seems to ignore this and tries to use port 5432. When I go to "Database Management", it still shows port 5432 under "Database Info". Restarting PT3 and even rebooting my PC did not fix this :(
IWantADiscount
 
Posts: 20
Joined: Fri Oct 17, 2008 5:34 pm

Re: "Database "PT3 DB" does not exist" error

Postby IWantADiscount » Wed Nov 26, 2008 11:54 pm

Never mind... I am blind. It has to be like this for it to be able to see both PG2 and PG3 DB:
[Database]
Default.Postgres.Port=5432
DB1.Postgres.Port=5433

Thanks again for the advices.
IWantADiscount
 
Posts: 20
Joined: Fri Oct 17, 2008 5:34 pm


Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests