PostGRE SQL Server on OSX10.6, client on PD5 W7

Discussion in 'Windows Virtual Machine' started by STEVEN J, Dec 5, 2009.

  1. STEVEN J

    STEVEN J Bit poster

    Messages:
    3
    I have a Macbook Pro which has a Windows VM running via Parallels (Windows 7). I installed PostgreSQL in OSX with the plans on running the SQL Server locally in OSX while running the client in Windows.

    Question 1 - I need to modify the pg_hba.conf file to accept connections from the virtual machine. Can I define a specific IP address or do I have to define an IP range because the VM's IP address changes each time I launch Windows7? The IP address for the Virtual Machine is 10.211.255.8 currently but the VM gets the IP address via DHCP, with the subnet mask of 255.255.255.0 on the 10.211.255.0 subnet.


    Question 2 - How do I determine the OSX host SQL server's name which will be entered into the SQL Client on the Windows VM?

    Thanks for your help in advance...
     
  2. Elric

    Elric Parallels Team

    Messages:
    1,712
    1) I'd recommend to define range. But the VM will get the same IP on the next reboot (it is remembered in DHCP-database of PD), so it is ok also to allow just 10.211.55.8

    2) If nothing is manuall changed in networking configuration of PD, then preffered HostAddress to use is 10.211.55.2 - it is host address which is directly accessible while VM works in SharedNetworking
     
  3. Elric

    Elric Parallels Team

    Messages:
    1,712
    Be careful! the actual address is likely 10.211.55.8
     

Share This Page