aehimself wrote:Upgrade. Quickly See here.DavideAmelio wrote:libmySQL51.dll
Seem stupid but i can't find the .dll !
Do you disable the timer when you pass the connection to an other form and do something else on it? Remember, one connection can do one thing at a time. If you have a query running on the secondary form and the timer on the first form pings, the query on the secondary form will fail with the very message you try to avoid.DavideAmelio wrote:Of course i have a timer that ping each minute...
No, I never disable timer, each works by itself, but why in WinXp / Win7 / WinServer no errors and problems? Only if i use the same application on Win10...few minutes and "Mysql as gone away...."
Well, yes, and no - that depends on what your application is doing. I am using only one connection in my database client application which has 4 modal popups for specific tasks, and it works well. But I'm really careful to pay attention to the multithreading best practices.DavideAmelio wrote:About doing more query at the same time with the same connection...could be, So I have to use different connection on each form?
I Always Known that Datamodule is for this, infact I put ZCon and some ZQry, the other zQry will build and destroy at runtime...each one pointing the same zQry.connection ( now abstract )