Forcing mysqldb to commit on execution.