PDA

View Full Version : Problem installing PostgreSQL



Mitchdubai
12-05-2009, 08:36 AM
I am trying to install HEM, started with the PostgreSQL installation. Got as far as "initialise database cluster" screen. When I complete this screen and click next I get the following error message

"The spoecified data directory is not empty. If you have an existing databse with the same major version number, you do not need to initialise a database cluster. If you have an existing database with a different major version you need to backup your old database and create a new one"

Unsure what to do next, any help appreciated.

fozzy71
12-05-2009, 01:10 PM
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 reisntall postgresql completely, use these steps - http://forums.holdemmanager.com/showthread.php?t=20755