[EMAIL PROTECTED] wrote:
> I'm trying to connect to a mysql database, with autoCommit and caching
> off, and I'm trying to create a transaction.  Why does this blow up?
As the traceback is telling you, your connectionString is missing the
actual values. Not sure about the cache parameter but:
connectionString =
'mysql://[EMAIL PROTECTED]/mc_image_library_dev?autoCommit=1' should work.

cheers
 Paul
> 
>>>> from sqlobject import *
>>>> connectionString = 'mysql://[EMAIL 
>>>> PROTECTED]/mc_image_library_dev?cache=&autoCommit='
[snipp]
>     conn.autocommit(self.autoCommit)
> TypeError: an integer is required
> 

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to