External/Separated HDD for HEM/SQL?
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Oct 2009
    Posts
    3

    Default External/Separated HDD for HEM/SQL?

    Hello,

    I have bought a 2nd HDD for my computer and I would like to use that HDD only for HEM or the SQL Database. I think I found some website a while ago where it was mentioned that you would get a good increase of speed with that.

    But how do I actually get postgreSQL to make the DB not on my C:\ but on the other dirve? Do I have to install Postgre on the other drive or can I set this somewhere in some kind of installer/options?

    thx for the help

  2. #2
    *** HM3! *** fozzy71's Avatar
    Join Date
    Jun 2005
    Location
    HM Support
    Posts
    32,807

    Default

    The simple way is to reinstall and point the postgresql installer to the new data directory location.


    Please update to the latest beta - http://www.holdemmanager.com/downloads/HmBetaUpdate.exe

    Vista: Turn off UAC - http://www.holdemmanager.net/faq/afm....aspx?faqid=73

    Turn off Windows Firewall for installing HM and PostgreSQL. Once you get those installed you can add exceptions to the firewall. If you have a 3rd party firewall, uninstall it completely before installing HM/SQL - http://www.holdemmanager.net/faq/afm...aspx?faqid=171

    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 > run > cmd >
    PHP Code:
    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/afm...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.

Similar Threads

  1. Cant connect to external host.
    By kazm in forum Manager General
    Replies: 1
    Last Post: 07-16-2009, 08:00 AM
  2. DB on External HD, Moving to new Laptop
    By coxquinn in forum Manager General
    Replies: 3
    Last Post: 06-05-2009, 09:17 PM
  3. External Hardrive
    By Byzantium in forum Manager General
    Replies: 1
    Last Post: 01-20-2009, 05:46 PM
  4. external sql reports
    By Diceman in forum Manager General
    Replies: 3
    Last Post: 01-04-2009, 12:16 AM
  5. Using external databases
    By dsdl in forum Manager General
    Replies: 1
    Last Post: 09-30-2008, 10:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •