PDA

View Full Version : Failed to establish a connection



nucLdis
01-06-2010, 09:01 PM
I just got my computer back from the shop they had to install another copy of windows vista in order to repair the drivers after some hardware failures. Now when I try to launch Holdemmanager it tells me that is failing to establish a connection to 127.0.0.1. I uninstalled postgre in order to try to start a new database but I am unsure of how to go about doing this. I don't mind losing all my data, I just need to get a new database up and running.

Data directory error when trying to initialize database cluster in PostgreSQL:
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 your old database and create a new one.

Any help would be greatly appreciated

fozzy71
01-07-2010, 02:11 AM
Please update to the latest beta - http://www.holdemmanager.com/downloads/HmBetaUpdate.exe

*For reinstalling SQL to the same DB, follow these steps:

1) Uninstall PostgreSQL from the Windows Control Panel.
2) If you are moving the DB to a different drive/partition, manually cut or copy the \Postgresql\8.x\data directory to it's new location.
3) run the command - start > programs > accessories > command prompt > right-click > run as administrator

net user postgres /delete
4) reboot.
5) Install the same version of PostgreSQL as your current DB using these instructions - http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=177
6) If you have moved/installed your DB to a non-default location, please make sure to change the 'Data Directory' path during the installation.



*If you want to completely get rid of your old database use these instructions - http://forums.holdemmanager.com/showthread.php?t=20755