Recent

Author Topic: My remote server has mySQL 6.1.5 but I can find a connection for this version  (Read 1129 times)

dpap

  • New Member
  • *
  • Posts: 12
Hi all,

I just started exploring Lazarus and I'm trying to figure out how to migrate a Delphi application that connects to a remote server via mySQL. I created a form where I placed a Grid, a source, a transaction and one of the 8 SQLconnections but I get the error message "TmySQL**connection can't work with installed mySQL client version : Expected (**), got (6.1.5)". But I can't find this version of MySQL. What should I do?
PS. can't change the version on the server
PS2. I'm anxious/fearful about migrating to Lazarus and I need your patient help. Thanks in advance

rvk

  • Hero Member
  • *****
  • Posts: 6643
Use the closest TMySQLConnection component and check the box for SkipLibraryVersionCheck.
It will skip the check for correct version of libraries.
This usually works because nothing major had changed between the libraries.

(It's really annoying FPC doesn't come with just a generic component which checks the version of installed libraries.)

Zvoni

  • Hero Member
  • *****
  • Posts: 2798
And you are sure it's MySQL (or MariaDB?)?

In any native Client (Workbench, phpMyAdmin) execute "SELECT Version()"
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad

dpap

  • New Member
  • *
  • Posts: 12
Yes, indeed SkipLibraryVersionCheck solves the problem. Many thanks

 

TinyPortal © 2005-2018