[Lazarus] MariaDB, SQLConnection - Suse vs Debian
Gordon Findlay
gfindlay.linux at gmail.com
Tue Dec 27 08:43:16 CET 2016
Thanks - that is the problem.
In case anyone else encounters this, the issue is that Debian 8.0 (Jessie)
installs Maria 10.0.28, which is MySQL 5.6 compatible, but version 5.5 of
libmysqlclient18.so
Version 5.6 is available in the jessie-backports repository (see
https://packages.debian.org/jessie-backports/libmysqlclient18
On Tue, Dec 27, 2016 at 7:07 AM, leledumbo via Lazarus <
lazarus at lists.lazarus-ide.org> wrote:
> > But when I attempt to access the databases from my project the MySQL 5.6
> connector throws an error: "Cannot work with installed MySQL Client
> version;
> got 5.5.0 expected 5.6"
> >
> > Using TMySQL55Connection doesn't work either: there is a more general
> > error message, basically "unable to connect".
> >
> > Identical dev. environment, code and databases - what's different?
>
> MariaDB 10.0 indeed maps to MySQL 5.6. But the installed client library is
> of version 5.5.0, which the connector refuse to use due to version
> difference. Install the same version for both client and server.
>
>
>
> --
> View this message in context: http://free-pascal-lazarus.
> 989080.n3.nabble.com/Lazarus-MariaDB-SQLConnection-Suse-vs-
> Debian-tp4050639p4050643.html
> Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus-ide.org
> http://lists.lazarus-ide.org/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20161227/9a327676/attachment.html>
More information about the Lazarus
mailing list