[Libreoffice-bugs] [Bug 119850] Database creation wizard dialog missing mysql connector options

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Sep 26 10:24:21 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=119850

--- Comment #17 from Lionel Elie Mamane <lionel at mamane.lu> ---
(In reply to Tamas Bunth from comment #16)

> What is a class string?

The name of a Java class. In this general context, this Java class is supposed
to expose the JDBC interfaces, and be a driver to a DBMS. In this particular
context, a driver to MySQL.

When one uses the wizard to create a new odb, and chooses "MySQL", the next
question is (was?) "what driver?", with a choice between ODBC, JDBC and native
(if installed...).

For ODBC you give a DSN source name. It better be a MySQL source, but that's
not technically checked/guaranteed. The connection, on the LibreOffice/SDBC
side is then an ODBC one, but some settings are automatically hardcoded to the
right ones for MySQL.

For JDBC you give a "class name" and parameters. The class name tells
LibreOffice which driver to load (what Java class). Again, it better be a MySQL
driver, but that's not technically checked/guaranteed. The connection, on the
LibreOffice/SDBC side is then a JDBC one, but some settings are automatically
hardcoded to the right ones for MySQL.

Native, I think you understand :) That's the one that you remade, excising out
the MySQL C++ connector.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180926/25f5af6d/attachment-0001.html>


More information about the Libreoffice-bugs mailing list