Lost connection to MySQL server during query
Posted: Fri 29 Sep 2006 05:49
using MyDAC 4.40.0.18 for Delphi 5
My app worked fine with MyDAC 4.00.1.6 but loses the connection on some querys after the upgrade. I have tried changing the settings as per FAQ but no luck.
I use a TMyQuery / TDataSetProvider / TClientDataSet
The SQL is: "select * from test_table". It is a small table and I want to insert a small number of rows. It is fine for a couple of rows but later bombs with the above error.
If I use just the TMyQuery with CachedUpdates, all is fine. When combined with TDataSetProvider / TClientDataSet it bombs when I call ApplyUpdates and before it reaches the BeforeUpdateRecord procedure.
thxs
My app worked fine with MyDAC 4.00.1.6 but loses the connection on some querys after the upgrade. I have tried changing the settings as per FAQ but no luck.
I use a TMyQuery / TDataSetProvider / TClientDataSet
The SQL is: "select * from test_table". It is a small table and I want to insert a small number of rows. It is fine for a couple of rows but later bombs with the above error.
If I use just the TMyQuery with CachedUpdates, all is fine. When combined with TDataSetProvider / TClientDataSet it bombs when I call ApplyUpdates and before it reaches the BeforeUpdateRecord procedure.
thxs