MySQLdb multithreaded

Bram Stolk bram at nospam.sara.nl
Wed May 7 12:32:02 EDT 2003


Hello,

MySQLdb package claims thread-safety.
I am doing a lot of multithreaded queries, which give me crashes.
single thread is OK.

Can I have multiple threads use the same connection to the db,
or does each thread require its own connection?

I am using MySQLdb 0.9.2 on debian/x86 and python2.2.1

thx,

  Bram


-- 
------------------------------------------------------------------------------
 Bram Stolk, VR Specialist.
 SARA Academic Computing Services Amsterdam, PO Box 94613, 1090 GP  AMSTERDAM
 email: bram at sara.nl   Phone +31-20-5923059  Fax +31-20-6683167

 "I heard if you play the NT-4.0-CD backwards, you get a satanic message."
 "Thats nothing, if you play it forward, it installs NT-4.0"
------------------------------------------------------------------------------




More information about the Python-list mailing list