Bug 88965 - Mysql SDBC driver should be inbuilt bundled with Libreoffice
Summary: Mysql SDBC driver should be inbuilt bundled with Libreoffice
Status: RESOLVED DUPLICATE of bug 46259
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-31 03:21 UTC by zaxebo zaxebo
Modified: 2015-10-25 15:55 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zaxebo zaxebo 2015-01-31 03:21:47 UTC
PostgreSQL sdbc driver is inbuilt bundled with libreoffice installation. 
MySQL is even more popular , and it will be mega convenient for Desktop users and web developers(who usually develop in PHP+Mysql), if "MySQL SDBC driver is inbuilt bundled" with Libreoffice default installation
This extension is already there, only it needs to be inbuilt.
http://extensions.libreoffice.org/extension-center/mysql-native-connector-for-libreoffice-4.x
It will lead to even more "popularity of Libreoffice Base" as frontend of MySQL as MySql is very pervasive these days
Comment 1 raal 2015-01-31 06:28:58 UTC
Setting as enhancement. 
Extension is windows only, maybe it's a reason.
Comment 2 zaxebo zaxebo 2015-01-31 16:09:14 UTC
Yes, you are right. 
This particular bug resolving requires:
1) Development of cross platform Mysql-SDBC driver (just like already existing cross-platform Mysql-SDBC driver). This can be a wapper over LGPL licensed driver given below.
2) and then bundling it with libreoffice

Nevertheless it will be very very important to bundle Mysql-sdbc, for even more pushing of popularity of "Libreoffice Base".

---------------------
note that mariadb C client driver has "LGPL license". This works for connecting mysql and mariadb both
https://mariadb.com/kb/en/mariadb/mariadb-connector-c/
probably SDBC driver can be a wrapper over this C client library.
Comment 3 Robert Großkopf 2015-01-31 19:32:43 UTC
(In reply to raal from comment #1)
> Setting as enhancement. 
> Extension is windows only, maybe it's a reason.

The Linux-extension you could get here:
http://extensions.libreoffice.org/extension-center/mysql-native-connector

Don't know why it is at different places.

Only extenbsion for Mac doesent seem to be available.

I will set this bug to new, because its would be an enhancement.
Comment 4 Julien Nabet 2015-10-25 13:57:57 UTC
I don't know the status of MariaDb (above all, the progress to make it work on LO) but since Mysql belongs to Oracle, I'm not sure we want or even can bundle Mysql (in both point of view: technically and licensing).

Lionel: should we:
1) let this bugtracker as it is
2) put it at WONTFIX
3) change it to replace Mysql by MariaDB
4) other
?
Comment 5 Lionel Elie Mamane 2015-10-25 15:55:46 UTC
(In reply to Julien Nabet from comment #4)
> I don't know the status of MariaDb (above all, the progress to make it work
> on LO) (...), I'm not sure we want or even can
> bundle Mysql (in both point of view: technically and licensing).

The discussion is not to bundle MySQL, but the *driver* to access MySQL from LibreOffice. The one currently "floating around" uses a GPLed C++ library, namely the MySQL C++ connector, and our policy is no GPLed code in the LibreOffice binaries distributed by The Document Foundation.

It could be bundled if it would be rewritten to use only the LGPL C library.

Calling it MySQL or MariaDB is mostly political, since the same driver will work for both.

*** This bug has been marked as a duplicate of bug 46259 ***