Hi Folk,
Any support for MariaDB 10.0 branch?
client library?
Thanks
Mailing lists / lazarus / 2015-05
Support for MariaDB 10.0
12 messages · 7 people · –
- EEric Kom 2
- JJosef Schnieder 2
- KKoenraad Lelong 2
- Lleledumbo 2
- MMichael Van Canneyt 2
- GGraeme Geldenhuys 1
- +1 more
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Any support for MariaDB 10.0 branch? client library?
TMySQL56Connection can connect to MariaDB perfectly.
leledumbo wrote> Any support for MariaDB 10.0 branch? > client library? TMySQL56Connection can connect to MariaDB perfectly.
Tested, and it works perfectly
Thanks again
Show quoted text 10 lines
TMySQL56Connection can connect to MariaDB perfectly. View this message in context:…
Op 12-05-15 om 10:03 schreef leledumbo:
Show quoted text 5 lines
Hi,
I have the MariaDB 10.0.13 client-libs. TMySQL56Connection can not connect. Any solution ?
Thanks.
Koenraad Lelong wrote 10 lines
What is the error ?
Michael.
Hi,
I have also problems to connect with TMySQL56Connection. The error-message is "can not work with the installed MySql client version: Expected (5.6) got (10.0.13-MariaDB)".
(fpc 2.6.4-2.10, lazarus 1.4.0.0, OpenSuse 13.2)
Josef
Michael Van Canneyt wrote 24 lines
fpc 2.6.4-2.10, lazarus 1.4.0.0, OpenSuse 13.2
Perhaps opensuse team creates its own 2.6.4? AFAIR TMySQL56Connection is not available in 2.6.4. You should either use fixes 3.0.0 or trunk.
I have also problems to connect with TMySQL56Connection. The error-message is "can not…
Josef Schnieder wrote 6 lines
Well.
The code checks if 5.6 or 10.0 is present in the version string reported by the client. So normally it should work, but with trunk only. Not with 2.6.4. So you'll have to wait for the upcoming 3.0
Michael.
Show quoted text 37 lines
Thanks for this information.
I take the changes from the trunk and put it into the 2.6.4 source (only some lines depedence to "mariadb").
now it works.
Josef
Michael Van Canneyt wrote 61 lines
I had the same problem. It's solved - I put updated source code to dedicated subfolder into source folder of the project - https://github.com/ok2cqr/cqrlog/tree/master/src/mysql
and added this folder to library path. I will delete this folder after fpc 3.0 will be released.
Petr
2015-06-10 12:25 GMT+02:00 Josef Schnieder :
Show quoted text 87 lines
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150610/58e981a4/attachment.html>
Petr Hlo?ek wroteand added this folder to library path. I will delete this folder after fpc 3.0 will be released.
Good idea. I've done that many times too for various components found in the FPC Trunk's FCL - while still using a stable FPC release compiler.
Regards,
- Graeme -
Perhaps opensuse team creates its own 2.6.4? AFAIR TMySQL56Connection is not available in…
Op 10-06-15 om 07:43 schreef leledumbo:
Show quoted text 5 lines
I used fpc-up. In the about-form of lazarus I get : Version 1.5
Date : 2015-05-05
FPC version : 2.6.5
SVN version : 48926
x86_64-linux-gtk 2
The error is like Josef Schnieder said.
I'm going to try to replace the files.
Koenraad.
