Is there any way can make me using python with mysql on win32

Paul Boddie paul at boddie.net
Thu Jan 10 06:31:59 EST 2002


"Kick" <store_li at sina.com> wrote in message news:<a1j63j$r4tb8$1 at ID-12869.news.dfncis.de>...
> Thank you for your reply.
> 
> I do installed myODBC and mxODBC, while I try to connect mysql using mxODBC,
> python told me that mysql doesn't support transaction and refuse to connect.
> I don't why.

You probably want to connect with the clear_auto_commit parameter set
to 0. See the following URL for details on connecting to databases:

  http://www.lemburg.com/files/python/mxODBC.html#Connections

The problem you experience may be mentioned at the end of the
description of the Connect method.

Paul



More information about the Python-list mailing list