Re: Writing multi-threaded mysql application

2003-07-08 Thread Ganbold
Hi Loren, Thanks for quick response. The previous application is written by me in ANSI C using mysql API. I'd love to write it in Java if it was first time:) Do you have any suggestion related to MySQL C API? Ganbold At 02:28 AM 7/8/2003 -0700, you wrote: I'm not sure if there are formal resour

Re: Writing multi-threaded mysql application

2003-07-08 Thread LS
I'm not sure if there are formal resources on this topic, but here are some basic guidelines I have followed in the past: 1) You can imagine that each running thread will have its own MySQL connection. 2) The connection can get created and held for the lifetime of a thread, or, if you plan to have