1/18/2007

AUTOCOMMIT when using Python MySQLdb module with MySQL database

When you use the MySQLdb module to update a table in MySQL database, you may find that the table is not changed at all. This is because for some reason the autocommit is set to FALSE. To reflect your change, you should set db.autocommit(True)

No comments: