[Lazarus] Mysql version

Larry Dalton larrydalton71 at gmail.com
Thu Aug 15 18:25:23 CEST 2024


I am running Lazarus 3.2 on Windows 11.
I am using MySql version 8.0.39.
I am using a single form test program, with only one unit.
My components are:
InventoryConnection = TMysql80Connection
InventoryQuery = TSqlQuery with InventoryConnection as database
InventorySource =Tdatasource with InventoryQuery as dataset
InventoryTransaction = TSQLTransaction with InventoryConnection as Database
InventoryGrid =TDBGrid with InventorySource as datasource

The test database is inventory with one table named 'base_info';
table has two columns: ID = INT and Stock_num =varchar(10);

when I set connection on connected property on InventoryConnection to TRUE
and set Active property on InventoryQuery to True in design time,
everything connects and opens just fine, and the columns appear in
InventoryGrid,

However, when I run the application, I get the following error:
'TMySql80Connection can not work the the installed MySQL client erosion:
Expected (8.0), got (6.1.10), and the application aborts.

I added a TMySql57connection to the same database on the same form,
and got the reverse error, expected (5.7), got (8.0.39).

help, please
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20240815/3c863be0/attachment.htm>


More information about the lazarus mailing list