[Lazarus] Support for MariaDB 10.0

Petr Hložek petr at petrhlozek.cz
Wed Jun 10 21:29:37 CEST 2015


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 <mail at josef-schnieder.de>:

> 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
>
>
> Am 10.06.2015 um 08:53 schrieb Michael Van Canneyt:
>
>>
>>
>> On Tue, 9 Jun 2015, Josef Schnieder wrote:
>>
>>  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)
>>>
>>
>> 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.
>>
>>
>>> Josef
>>>
>>>
>>> Am 09.06.2015 um 07:27 schrieb Michael Van Canneyt:
>>>
>>>>
>>>>
>>>> On Mon, 8 Jun 2015, Koenraad Lelong wrote:
>>>>
>>>>  Op 12-05-15 om 10:03 schreef leledumbo:
>>>>>
>>>>>> Any support for MariaDB 10.0 branch?
>>>>>>> client library?
>>>>>>>
>>>>>>
>>>>>> TMySQL56Connection can connect to MariaDB perfectly.
>>>>>>
>>>>>>  Hi,
>>>>>
>>>>> I have the MariaDB 10.0.13 client-libs. TMySQL56Connection can not
>>>>> connect. Any solution ?
>>>>>
>>>>
>>>> What is the error ?
>>>>
>>>> Michael.
>>>>
>>>> --
>>>> _______________________________________________
>>>> Lazarus mailing list
>>>> Lazarus at lists.lazarus.freepascal.org
>>>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>>>>
>>>
>>>
>>> --
>>> _______________________________________________
>>> Lazarus mailing list
>>> Lazarus at lists.lazarus.freepascal.org
>>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>>>
>>>
>> --
>> _______________________________________________
>> Lazarus mailing list
>> Lazarus at lists.lazarus.freepascal.org
>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>>
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150610/58e981a4/attachment-0003.html>


More information about the Lazarus mailing list