[Zope] Remote DB connection

Petru Paler ppetru@coltronix.com
Sun, 13 Feb 2000 14:27:49 +0200


On Sun, Feb 13, 2000 at 12:39:48AM -0800, Stephan Richter wrote:
> Hello everyone.
> 
> Short Question: How can I connect to a DB remotely? I
> am using PostGres. What do I heve to put into the DB
> connection string. (I read the source and it lost me
> somewhere on the DB.py and Connection.py level.)

   From the README file of the ZPyGreSQL DA:

The connection string in Zope should be:

    baseball@localhost:5432 your_user_name if you wish to use TCP/IP and have specified
    the -i flag when starting the postmaster, or

    baseball your_user_name if you wish to use Unix sockets.


-Petru