MySQL Forums
Forum List  »  Connector/Python

Re: Problem with Python/MySQL
Posted by: Geert Vanderkelen
Date: September 24, 2009 01:36AM

Hi Eoin,

Are you committing the transactions? It should be off by default (well, according to Python's DAPIv2.0).

conn.commit()

after you done execute. Of course, only if really needed when using InnDB storage engine, but doesn't hurt to do it anyway.

Cheers,

Geert

Geert Vanderkelen
Software Developer at Oracle

Options: ReplyQuote


Subject
Written By
Posted
September 16, 2009 06:53AM
Re: Problem with Python/MySQL
September 24, 2009 01:36AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.