Setting the computer date causes "Lost connection to MySql server 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
Zsolt Csillag
Posts: 30
Joined: Sun 28 May 2006 16:09

Setting the computer date causes "Lost connection to MySql server during query"

Post by Zsolt Csillag » Sun 23 Jul 2006 14:29

Hello,

Problem:
- I start my program
- I set the year of the computer with 1 year later
- The "Lost connection to MySql server during query" occurs right after I make ANY data related task (for instance click on the next record in a DbGrid)

It is interesting that if I set the year to one year before then I don't get
this message.

This thing is very important to me since I would like to check if the customer didn't change the time of the computer.

Thank you in advance

Zsolt Csillag
Hungary

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Mon 24 Jul 2006 08:20

MyDAC gets the error from network after changing system date. After getting network error MyDAC raises error on the client. So, MyDAC is not the reason of this problem.

Post Reply