Page 1 of 2

Installing PT3 on Virtual Windows

PostPosted: Tue Oct 18, 2011 11:07 am
by phenomius
I installed PT3 on my mac while ago. It works fine. Now I want to install it via Parallels on Windows too. I inserted the registeration code. It accepted it. But when I click connect on Configure PostgreSQL server it says "Unable to connect to this database. Please check the configuration." Do I need to make new db somehow ?

Re: Installing PT3 on Virtual Windows

PostPosted: Tue Oct 18, 2011 12:02 pm
by kraada
You can if you'd like - or you can configure your Mac version to allow you to log in via Parallels - you need to make port 5432 accessible from the VM and then edit postgres.conf in OS X as explained in this tutorial.

Re: Installing PT3 on Virtual Windows

PostPosted: Wed Oct 19, 2011 3:34 am
by phenomius
kraada wrote: you need to make port 5432 accessible from the VM


How do you do this ?

Re: Installing PT3 on Virtual Windows

PostPosted: Wed Oct 19, 2011 9:01 am
by kraada
I did a little more digging for you. The easiest way is to make sure that Parallels is set to use Host Only Networking in the Parallels Preferences. You can then see the IP range that the Parallels network is on below in the preferences window. Follow this tutorial (when it comes to editing the file - you should be able to find it via Spotlight) and then edit pg_hba.conf and postgresql.conf to allow access to the other addresses.

Re: Installing PT3 on Virtual Windows

PostPosted: Thu Oct 20, 2011 2:53 am
by phenomius
Host only networking is ticked but can't find the file I am supposed to edit. No such thing as configuration files found. My PostgreSQL 8.4 folder has reload configuration and pgAdmin III that come close but they lead to nowhere.

Re: Installing PT3 on Virtual Windows

PostPosted: Thu Oct 20, 2011 3:04 am
by WhiteRider
That sounds like the Applications folder. See this post for where to find the files kraada mentioned - please read the note at the bottom of the page too.

Re: Installing PT3 on Virtual Windows

PostPosted: Mon Oct 24, 2011 1:16 am
by phenomius
Pretty lost here :oops: Option 2 was to make totally new database ? How ? When I open PT3 in windows it goes right to the configure PostgreSQL Server box. MAC and Win versions don't need the same db. I play on Entraction with Mac and on Ipoker with Windows.

Re: Installing PT3 on Virtual Windows

PostPosted: Mon Oct 24, 2011 3:33 am
by WhiteRider
Is PostgreSQL installed in Windows?

Re: Installing PT3 on Virtual Windows

PostPosted: Tue Oct 25, 2011 1:35 am
by phenomius
Yes. I can find it via Windows Start menu

Re: Installing PT3 on Virtual Windows

PostPosted: Tue Oct 25, 2011 4:08 am
by WhiteRider
It's possible there's a clash between PostgreSQL on Windows and Mac if you use the same port numbers - are you using the same settings? What values do you have in the connection dialog on Windows?
You could try reinstalling PostgreSQL on Windows and use a different port - see the guide in the Documentation if you want to try that, although Kraada may have further advice as he has more experience of this sort of thing.