Feature request: implement MariaDB database client libraries as replacment for MySQL

Distributing commercial apps using MySQL client libraries require a commercial license from Oracle (which I find cumbersome and expensive).
As alternative there is a MariaDB Client Library for C . The MariaDB Client Library for C has exactly the same API as the MySQL Connector/C for MySQL 5.5.

Using the MariaDB client library for C:
If your application is using a license that is not covered by the FLOSS exception, then you should use the new LGPL client libraries or C.
The LGPL license allows you to distribute these MariaDB client library freely with any application. If you modify the client library, you need to publish the new source code.

References:
https://kb.askmonty.org/en/mariadb-client-library-for-c/
https://kb.askmonty.org/en/licensing-faq/#using-the-mariadb-client-library-for-c

Feature request on feedback:
http://feedback.xojo.com/case/27295

Well, with exact same API, you could simply load it into our MBS SQL Plugin.

[quote=13142:@Oliver Osswald]Distributing commercial apps using MySQL client libraries require a commercial license from Oracle (which I find cumbersome and expensive).
As alternative there is a MariaDB Client Library for C . The MariaDB Client Library for C has exactly the same API as the MySQL Connector/C for MySQL 5.5.

Using the MariaDB client library for C:
If your application is using a license that is not covered by the FLOSS exception, then you should use the new LGPL client libraries or C.
The LGPL license allows you to distribute these MariaDB client library freely with any application. If you modify the client library, you need to publish the new source code.

References:
https://kb.askmonty.org/en/mariadb-client-library-for-c/
https://kb.askmonty.org/en/licensing-faq/#using-the-mariadb-client-library-for-c

Feature request on feedback:
http://feedback.xojo.com/case/27295[/quote]

Use the mysql plugin
Enjoy
It does just work

[quote=13197:@Norman Palardy]Use the mysql plugin
Enjoy
It does just work[/quote]
???

It is not about whether it works. It is about whether you can distribute MySQL client drivers with a commercial app. Which is NO. You are only allowed to use it with free or with open-source software or with inhouse used software. If you sell closed source software, then you need to buy MySQL client licenses from Oracle.

And you do not have to do this, if Xojo was using the MariaDB drivers.

I barked up this tree years ago. It’s why I’m now using PostgreSQL. Having said that, I like PostgreSQL a lot better. :slight_smile:

[quote=13200:@Oliver Osswald]???

It is not about whether it works. It is about whether you can distribute MySQL client drivers with a commercial app. Which is NO. You are only allowed to use it with free or with open-source software or with inhouse used software. If you sell closed source software, then you need to buy MySQL client licenses from Oracle.

And you do not have to do this, if Xojo was using the MariaDB drivers.[/quote]
You might want to look over Maria’s licenses as well - I dont believe it fundamentally changes those license terms https://kb.askmonty.org/en/licensing-faq/#distributing-a-proprietary-application-with-the-mariadb-mysql-server

It’s one reason why I prefer PostgreSQL where the license literally says “free for any use” (plus it’s simply a much more capable db engine)

[quote=13218:@Norman Palardy]You might want to look over Maria’s licenses as well - I dont believe it fundamentally changes those license terms https://kb.askmonty.org/en/licensing-faq/#distributing-a-proprietary-application-with-the-mariadb-mysql-server

It’s one reason why I prefer PostgreSQL where the license literally says “free for any use” (plus it’s simply a much more capable db engine)[/quote] Actually I did look at this before - and I believe you just quoted the wrong passage, that is the one which refers to distributing apps WITH A SERVER.

What I am referring to is the passage just above the one you quoted, which refers to CLIENT LIBRARIES, and there it says:

[quote]Using the MariaDB client library for C
If your application is using a license that is not covered by the FLOSS exception, then you should use the new LGPL client libraries or C.
The LGPL license allows you to distribute these MariaDB client library freely with any application. If you modify the client library, you need to publish the new source code.[/quote]
Using the MariaDB client library for C

But I agree: I’d recommend also using Postgres over any flavor of MySQL.