MySQLdb UPDATE does nothing

Steve Horsley steve.horsley at
Fri Sep 16 20:01:10 CEST 2005

Magnus Lycka wrote:
> Steve Horsley wrote:
>> Or, as I found out yesterday, cursor.execute('commit') afterwards.
> The correct way to do it is to close the cursor object, and
> then do "db.commit()". Don't rely on a cursor object to work
> across transaction boundries!
> See e.g. and

Good reference, thank you.


More information about the Python-list mailing list