PDA

View Full Version : Data directory error



bolillo420
01-15-2010, 06:46 PM
The specified data directory is not empty.

If you have an existing database with the same major version number, you do not need to initialize a database cluster.
If you have an existing database with a different major version you need to backup you old database and create a new one.

I have windows xp proffesional version 2002 Service Pack 3.

Can you please help?

Ty
bolillo

fozzy71
01-16-2010, 12:22 AM
This means you have previously installed postgresql (PT3 trial?). If you havent uninstalled it yet, you should be able to simply connect HM to the sql installation.

PT3's default name/password is - postgres/dbpass
HM's default name/password is - postgres/postgrespass

If that doesnt help:

1. Go to C:\Program Files\PostgreSQL\8.x\data, move the the pg_hba file to your Desktop and open it with notepad.
2. Scroll to the bottom and change all md5 to trust. Save and close the file
3. Move the file back to the data folder
4. Restart the PostgreSQL service: Control Panel -> Administrative Tools -> Services

HM will accept any password now.

http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=66

If you find you need to reinstall postgresql completely, use these steps - http://forums.holdemmanager.com/showthread.php?t=20755