MySQL Forums
Forum List  »  Connector/Python

Re: log-bin not logging UPDATEs
Posted by: Stefan Sonnenberg
Date: February 14, 2008 02:08PM

The question is:
does c.commit() really commit ?

Please try this and come back with information about how it is going:

c.execute('SOME UPDATE STMT')
c.execute('COMMIT')
c.commit()

There a some rules which apply to the bin-log, which prevents it from writing
statements.

If you do not restrict updates to specific databases, or are on a replication slave, then you should see every update.

Options: ReplyQuote


Subject
Written By
Posted
February 14, 2008 08:12AM
Re: log-bin not logging UPDATEs
February 14, 2008 02:08PM
February 15, 2008 02:11AM
February 15, 2008 02:26AM
February 18, 2008 03:12AM
February 15, 2008 02:27AM


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.