MySQL Forums
Forum List  »  Connector/Python

Re: Cannot commit a read statement
Posted by: Nuno Mariz
Date: July 27, 2022 07:13AM

The `cnx.commit()` is unnecessary because you're not writing anything to database and you have results to be fetch.

Options: ReplyQuote


Subject
Written By
Posted
Re: Cannot commit a read statement
July 27, 2022 07:13AM


Sorry, only registered users may post in this forum.

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.