Lost connection to MySQL during query

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ramajana
Posts: 10
Joined: Tue 23 Nov 2004 17:22

Lost connection to MySQL during query

Post by ramajana » Thu 09 Dec 2004 13:56

Since started using MyDAC 3.30.1.13, I constantly get 'Lost connection to MySQL during query' error. I checked documentation and seems to me all possible causes from my side are ruled out.
Is it possible new MyDAC messed with TCP packet order so MySQL dropped the connection?

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Re: Lost connection to MySQL during query

Post by Ikar » Thu 09 Dec 2004 15:22

We reproduced and fixed this error. Usually it happens on the execution of long queries. Fix of the problem will be available with the next version in about two weeks.

As a temporary solution you can set TMyConnection.Options.Direct := False

Post Reply