Re: Multithread handling of Connect/Close

2005-09-24 Thread Lefteris Tsintjelis
Sujay Koduri wrote: I think mysql does not allow multiple threads to act on the same connection. You have to create a connection pool and pick one for each thread Either that or keep handling them on a per thread basis but do I have to also do mysql_server_init/end on a per child then, or

RE: Multithread handling of Connect/Close

2005-09-24 Thread Sujay Koduri
: mysql@lists.mysql.com Subject: Re: Multithread handling of Connect/Close Sujay Koduri wrote: I think mysql does not allow multiple threads to act on the same connection. You have to create a connection pool and pick one for each thread Either that or keep handling them on a per thread basis

Re: Multithread handling of Connect/Close

2005-09-24 Thread Pooly
Hi, 2005/9/24, Lefteris Tsintjelis [EMAIL PROTECTED]: Sujay Koduri wrote: I think mysql does not allow multiple threads to act on the same connection. You have to create a connection pool and pick one for each thread You can use one connection for all your thread. Just be sure to

Re: Multithread handling of Connect/Close

2005-09-24 Thread Lefteris Tsintjelis
Pooly wrote: Hi, 2005/9/24, Lefteris Tsintjelis [EMAIL PROTECTED]: Sujay Koduri wrote: I think mysql does not allow multiple threads to act on the same connection. You have to create a connection pool and pick one for each thread You can use one connection for all your thread. Just be