[Zope] how to dynamically define a ZMySQL connection

alt alt@sonic.net
Mon, 11 Mar 2002 21:52:25 -0800


Does anybody know how I could dynamically edit an existing ZMySQL
connection object, within a HotFix product or some python based method?

Reason I ask is sometimes the mysql server will move to a different
machine.  I'd prefer not to login to Zope and make the change, but rather
edit some external file that defines the server name.
If there is a way to access the various Data.fs objects from a HotFix type
product, I think this would be possible.

Thanks,
Albert