On Thu, 15 Aug 2024, Larry Dalton via lazarus 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 = 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.
if it reports 6.1.10, it means there is a client library 6.1.10 installed somewhere and it gets used before the 8.0 one. I made some applications that connect with 8.0, I can't remember doing anything special, so it's the most likely cause that there is an old lib lying around? Michael. -- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus