<div dir="auto">When I do that, everything works at design time, but then I get runtime error ‘Server connect failed’</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 15, 2024 at 14:58 Goran Atanasijevic via lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div> Hi,<br><br>you can use workaround<br><br>InventoryConnection.SkipLibraryVersionCheck:=true;<br><br>I did that when Lazarus didn't read correctly MySQL 5.5 with matching dll version.<br><br>Best,<br>Goran<br><br><br> </div> <div style="margin:10px 0px 0px 0.8ex;border-left:1px solid #ccc;padding-left:1ex"> <div style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;color:#26282a"></div></div><div style="margin:10px 0px 0px 0.8ex;border-left:1px solid #ccc;padding-left:1ex"><div style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;color:#26282a"> <div> On Thursday, 15 August 2024 at 06:25:51 pm GMT+2, Larry Dalton via lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org" target="_blank">lazarus@lists.lazarus-ide.org</a>> wrote: </div> <div><br></div> <div><br></div> <div><div id="m_1653180518371466911yiv2044119537"><div dir="ltr">I am running Lazarus 3.2 on Windows 11. <div>I am using MySql version 8.0.39. </div><div>I am using a single form test program, with only one unit. </div><div>My components are:</div><div>InventoryConnection = TMysql80Connection</div><div>InventoryQuery = TSqlQuery with InventoryConnection as database</div><div>InventorySource =Tdatasource with InventoryQuery as dataset</div><div>InventoryTransaction = TSQLTransaction with InventoryConnection as Database</div><div>InventoryGrid =TDBGrid with InventorySource as datasource</div><div><br></div><div>The test database is inventory with one table named 'base_info';</div><div>table has two columns: ID = INT and Stock_num =varchar(10);</div><div><br></div><div>when I set connection on connected property on InventoryConnection to TRUE</div><div>and set Active property on InventoryQuery to True in design time, everything connects and opens just fine, and the columns appear in InventoryGrid, </div><div><br></div><div>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. </div><div><br></div><div>I added a TMySql57connection to the same database on the same form, </div><div>and got the reverse error, expected (5.7), got (8.0.39). </div><div><br></div><div>help, please</div></div></div>-- <br>_______________________________________________<br>lazarus mailing list<br><a href="mailto:lazarus@lists.lazarus-ide.org" target="_blank">lazarus@lists.lazarus-ide.org</a><br><a href="https://lists.lazarus-ide.org/listinfo/lazarus" target="_blank">https://lists.lazarus-ide.org/listinfo/lazarus</a><br></div> </div> </div>-- <br>
_______________________________________________<br>
lazarus mailing list<br>
<a href="mailto:lazarus@lists.lazarus-ide.org" target="_blank">lazarus@lists.lazarus-ide.org</a><br>
<a href="https://lists.lazarus-ide.org/listinfo/lazarus" rel="noreferrer" target="_blank">https://lists.lazarus-ide.org/listinfo/lazarus</a><br>
</blockquote></div></div>