Invalid Databases

Questions and discussion about PokerTracker 4 for Windows

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Invalid Databases

Postby JayKon17 » Sat Apr 14, 2012 1:59 pm

Hey guys, I've had this database running for a solid few months... and suddenly I have to reinstall PostGres because it crashes and I get an error that my databases are invalid. After reinstalling, the only option I had was to open a new database. This is a HUUGE bummer for me, as I'm trying to compile yearly reports, keep sound stats, etc...

The databases still show up in the database management, meaning they still have to be somewhere. My question is, "Do you think they're rescueable?"

Any light on this matter would be greatly appreciated.
Thanks!

JayKon17
JayKon17
 
Posts: 57
Joined: Mon Jan 09, 2012 10:58 am

Re: Invalid Databases

Postby WhiteRider » Sat Apr 14, 2012 2:12 pm

Did you install the same major version of PostgreSQL as you previously had?

If you were using 8.3 and you now installed 9.0 then it won't be able to read the old databases, for instance.
In that case if you install your old version you should be able to access the databases. You could backup the database using the old version and then restore it using the new version if you want to update. (File > Backup / Restore)
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Invalid Databases

Postby JayKon17 » Sun Apr 15, 2012 1:39 pm

Nope, same version. This is really, really frustrating because of all the stats I have compiled. :\

Either way, I could try redownloading it again... but I'm pretty sure it's not a compatibility issue. :(

Thanks again, JayKon17
JayKon17
 
Posts: 57
Joined: Mon Jan 09, 2012 10:58 am

Re: Invalid Databases

Postby WhiteRider » Mon Apr 16, 2012 3:59 am

It could depend on exactly what happened when PostgreSQL crashed. Did you have a serious problem with your computer when PostgreSQL "crashed".

If you run PGAdmin via the Start menu, do you see your databases listed? (double click to expand the tree)
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Invalid Databases

Postby civver » Mon Apr 16, 2012 10:25 am

hi i had a similiar prob and found with google the following intruction which solved it for me:


this helped me to get access to database again:


Logon using Local System Account:

1. Go to Start / Control Panel / Administrative Tools (Need to be using classic view in Windows Vista) / Services. The Services dialog will pop up.

2. Scroll to PostgreSQL Database Server. If it isn't started (as indicated in the status column) right click on it and choose Start. If it starts and then stops or was already started, follow the steps below:

3. Right click on PostgreSQL Database Sever and choose Properties. You should see the following dialog.

4. Click on the Log On tab. Copy the username in the This Account field and paste it into Notepad in case you need to use it again. Make sure you know your password as well.

5. Select Local System Account and then click Apply then OK.

6. Restart your PC and see if you still get the error.

7. If it does not fix it, please switch to logon as This Account and enter your username and password again and reboot
civver
 
Posts: 6
Joined: Thu Feb 02, 2012 11:49 am

Re: Invalid Databases

Postby JayKon17 » Tue Apr 17, 2012 7:57 pm

civver wrote:hi i had a similiar prob and found with google the following intruction which solved it for me:


this helped me to get access to database again:


Logon using Local System Account:

1. Go to Start / Control Panel / Administrative Tools (Need to be using classic view in Windows Vista) / Services. The Services dialog will pop up.

2. Scroll to PostgreSQL Database Server. If it isn't started (as indicated in the status column) right click on it and choose Start. If it starts and then stops or was already started, follow the steps below:

3. Right click on PostgreSQL Database Sever and choose Properties. You should see the following dialog.

4. Click on the Log On tab. Copy the username in the This Account field and paste it into Notepad in case you need to use it again. Make sure you know your password as well.

5. Select Local System Account and then click Apply then OK.

6. Restart your PC and see if you still get the error.

7. If it does not fix it, please switch to logon as This Account and enter your username and password again and reboot


Worked to a T! Thanks a lot, mate! Cheers!
JayKon17
 
Posts: 57
Joined: Mon Jan 09, 2012 10:58 am


Return to PokerTracker 4

Who is online

Users browsing this forum: No registered users and 0 guests