Error with MySQL 5.0.37

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
patyi
Posts: 14
Joined: Wed 01 Feb 2006 20:55

Error with MySQL 5.0.37

Post by patyi » Wed 21 Mar 2007 19:52

Hi !

I'm just installed MySQL 5.0.37 and get an error when open a query :
"Invalid class typecast". Before I use MySQL 5.0.27 and no error !
(the source code is unchanged sins server is reinstalled,
I'm make a data dump on old server and restore it to the new server)

MyDAC 4.40.0.23, Delphi 7.

It is posible that the new version of server and MyDAC is incompetible ?
(sory for my English...)

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

Post by Antaeus » Thu 22 Mar 2007 15:11

Probably there were changes with fields describing between these two versions of MySQL Server. This problem can arise because you have created fields for a dataset objects like TMyQuery, TMyTable in design time. Please try to determine what field type causes this problem. A simple project that includes script to create server object(s) would be very helpful to reproduce this problem. You can send it to me at evgeniyd*crlab*com.

Post Reply