From: | Nathan Wilson <velosa(at)cinenet(dot)net> |
---|---|
To: | pgsql-novice(at)postgresql(dot)org |
Subject: | Python, MacOSX & PostgreSQL |
Date: | 2002-01-04 22:21:15 |
Message-ID: | Pine.GSO.3.95.1020104093218.4727D-100000@hollywood.cinenet.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Is anyone else out there trying to get this combo to work? Anyone know
anyone who might be working on this combo?
I got all the pieces compiled (Python 2.2b3, MacOSX 10.1, PostgreSQL
7.2b3, mx.DateTime 2.0.2). Python and PostgreSQL are both working, but
when I try to connect to the DB from Python I get 'Connection refused' and
it asks if the server is accepting TCP/IP connections on port 5432. If I
give psql that as the explicit port it does just fine. I also tried
moving to a different port and changing the call to _pg.connect, but still
no joy. Again psql does just fine. BTW, I built Python as a Framework.
I've downloaded new latest and greatest (Python 2.2, MacOSX 10.1.2,
PostgreSQL 7.2b4, mx.DateTime 2.0.3), but I'm not terribly hopefully.
Oh, one other note, I have confirmed that python can handle sockets
by setting up pydoc as an http server and accessing it from Netscape.
Any suggestions are most welcome.
Thanks!
-Nathan
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-01-05 00:47:55 | Re: Python, MacOSX & PostgreSQL |
Previous Message | Jason Earl | 2002-01-04 18:10:17 | Re: Creating db from sql script file |