https://bz.apache.org/ooo/show_bug.cgi?id=128035
Issue ID: 128035
Issue Type: DEFECT
Summary: Can't use AOO with MariaDB and JDBC
Product: Base
Version: 4.2.0-dev
Hardware: All
OS: All
Status: CONFIRMED
Severity: Blocker
Priority: P5 (lowest)
Component: code
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
I use AOO as a client for several databases. Most of them were originally
created with MySQL. Now I use Mariadb on my Debian machines.
There is no MySQL JDBC Driver available. I get the message: "Can't load
com.mysql.jdbc.Driver"
For using Mariadb there is an own JDBC Driver. The name of the driver class is
org.mariadb.jdbc.Driver.
I found hardcoded entries:
main/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java
67 prop[0] = new PropertyValue("JavaDriverClass", 0,
"com.mysql.jdbc.Driver", PropertyState.DIRECT_VALUE);
main/connectivity/source/drivers/mysql/YDriver.cxx
183
,makeAny(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.mysql.jdbc.Driver")))
234 ::rtl::OUString
sDriverClass(RTL_CONSTASCII_USTRINGPARAM("com.mysql.jdbc.Driver"));
354
,::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.mysql.jdbc.Driver"))
main/connectivity/source/drivers/mysql/mysql.xcu
41 <value>com.mysql.jdbc.Driver</value>
I think it is necessary to be able to use both entries.
--
You are receiving this mail because:
You are the assignee for the issue.