I recently use threads to create queries to the MYSQL database, I use MyDAC to connect to the database, because TMyConnection does not allow you to make connection requests at the same time, I create a new connection and a new query object for each thread that executes the query, so at a certain time It may happen that the server has several connections for the client. If we look at this scenario for several clients connecting to the database, this will be a problem, I think. Is there a better solution for using threads in queries?
Thank you in advance
Billiardo aragorn
source
share