In the _queryInsertID() method of MySQLConnection for
0.6, the line:
id = c.insert_id()
was switched to the following:
id = c.lastrowid
While this is necessary for the newer versions of
MySQLdb, it breaks older versions. I attached a patch
which allows both older and newer versions of MySQLdb
to work.
SO patch