Hi,

you can use workaround

InventoryConnection.SkipLibraryVersionCheck:=true;

I did that when Lazarus didn't read correctly MySQL 5.5 with matching dll 
version.

Best,
Goran


     On Thursday, 15 August 2024 at 06:25:51 pm GMT+2, Larry Dalton via lazarus 
<lazarus@lists.lazarus-ide.org> wrote:  
 
 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 = TMysql80ConnectionInventoryQuery = TSqlQuery with 
InventoryConnection as databaseInventorySource =Tdatasource with InventoryQuery 
as datasetInventoryTransaction = TSQLTransaction with InventoryConnection as 
DatabaseInventoryGrid =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 TRUEand 
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-- 
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
  
-- 
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to