MySQLdb and threads

Gillou nospam at bigfoot.com
Mon Nov 4 12:30:02 EST 2002


Hi,

I plan to make SQL queries in different threads of an application using
MySQLdb.
Can I use the same Connection object in all threads (each thread having its
own cursor) for the queries ? Or should I use a different Connection object
for each thread ?

TIA for your hints !

--Gilles






More information about the Python-list mailing list