Connect to local PostgreSQL database

Discussion in 'Windows Virtual Machine' started by M-Rick, Apr 24, 2012.

  1. M-Rick

    M-Rick Bit poster

    Messages:
    46
    I have a PostgreSQL database running in local on my Mac that I use with GIS softwares.
    It runs perfectly well.

    When i want to connect to it from Windows i just can't…

    Whatever the settings are, networked mapped, bridge, etc… nothing is working.

    Is there any solution?
     
  2. YanaYana

    YanaYana

    Messages:
    1,666
    d
    Did you try host only mode? what is the path you are using to connect to the database?
     
  3. M-Rick

    M-Rick Bit poster

    Messages:
    46
    Hi

    Yes I did.

    To connect I use localhost:5432 like on the Mac, it should work with host only mode but it doesn't.
     
  4. YanaYana

    YanaYana

    Messages:
    1,666
    you need to use your Windows as a separate PC. Go to Bridget network and use Mac IP to access your DB
     
  5. M-Rick

    M-Rick Bit poster

    Messages:
    46
    And how can I get it?
    Will it be same all the time?
    I tried with my Ethernet IP which is 192.168.1.25, it is not working.

    Plus, I don't want it to connect to internet…

    [​IMG] [​IMG]

    [​IMG]
     
    Last edited: Apr 27, 2012
  6. YanaYana

    YanaYana

    Messages:
    1,666
    You need it to be connected to the local network at least. Pleas check network configuration. Or try host only mode - it may also work. If nothing helps - contact support team - this case worth being investigated. www.parallels.com/support
     
  7. shanjoyb

    shanjoyb Member

    Messages:
    48
    In order to connect PostgreSQL server from windows you have to configure you network as bridge mode and configure same subnet IP address as your MAC. you have o login like this 192.168.1.10[Mac ip address]:5432. It's may help..

    Thanks [​IMG]
     

Share This Page