Skip navigation links

MySQL Forums :: Connector/Python :: thread safe MySQLdb cursors?


Advanced Search

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
MySQL/Sun

Options: ReplyQuote


Subject Written By Posted
thread safe MySQLdb cursors? Steve Strassmann 07/24/2006 01:05PM
Re: thread safe MySQLdb cursors? Jim Winstead 07/25/2006 04:43PM
Re: thread safe MySQLdb cursors? stefan sonnenberg 07/28/2006 12:02AM
Re: thread safe MySQLdb cursors? Matt Jim 04/14/2009 09:34AM


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.