18 Jun
2003
18 Jun
'03
5:44 a.m.
Hi Wayne, would it not be far more easy to just use a MySQLDA (mysql zope database adaptor) and write your statements to ZSQL Methods? The problem with classes and objects not prepared for the zope security engine - you cannot access their data in the worst case. Regards Tino Wayne Connolly wrote:
Phil,
Thanks for the reply.
It is a python script not a external method in zope. The python script is at the domain root.
I read here http://images.devshed.com/Server_Side/Python/PythonMySQL/PythonMySQL.pdf that its possible and baiscaliy repurposed it for my own needs.
I really need this py script to connect to the mysql db to do an UPDATE (then if the UPDATE fails) do a INSERT.
Any idea's?