28 Jul
2003
28 Jul
'03
9:49 p.m.
I don't know however, how to communicate directly with MySQL from my product. Should I rely on a connection created in ZMI? Or do I create my own connection - if so: how? And how do I make the queries?
You can use a ZMI-made connection. Or you can make it programmatically. It depends on who is going to use it. Do you trust your users with one extra step? (To make it programmatically, you add it like any other product. Take a look at ZopeLabs cookbook for examples.) For the rest, see http://www.zope.org/Members/jccooper/extzsql --jcc -- "My point and period will be throughly wrought, Or well or ill, as this day's battle's fought."