MySQL Forums
Forum List  »  Connector/Python

Re: thread safe MySQLdb cursors?
Posted by: Jim Winstead
Date: July 25, 2006 04:43PM

Are you creating a cursor in each thread that uses the same MySQLdb object, or a new MySQLdb object in each thread? If it is the former, it is simply not going to work. Each connection can only be accessed by a single thread at a time.

Jim Winstead

Options: ReplyQuote

Written By
Re: thread safe MySQLdb cursors?
July 25, 2006 04:43PM

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.