Craig Allen wrote:
> As a quick and dirty alternative (untested), just edit your connection
> parameters in your Mysql connector to point to the different server (you'll want
> to close the connection first, I expect).
I think this is probably the best way to do it :-)
The idea behind a database
Magnus Heino wrote:
> How can I change the 'Database Connection String' and then then try to
> connect, either in dtml or python?
I think I understand what you are asking, since I am developing a database app
and have switched about 20 methods back and forth between two database
servers... it gets
Title: RE: [Zope] Change db connect string in python or dtml
Have you tried: create a new instance of a database connection alongside the old one, then point your SQL methods at the new connection. When you have them all switched over, delete the old connection.
-cw-
> -Origi
Hi.
I have an instance of a 'Z MySQL Database Connection' called mysql.