-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add MariaDB Connector/J JDBC driver #2391
Conversation
31f126f
to
c0821cb
Compare
…iadb_jdbc_driver # Conflicts: # build.gradle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you!
Description
So far, ScalarDB has been using the Mysql JDBC driver for both MySQL and MariaDB, but the driver does not support fractional seconds for time-related types when used with MariaDB 10.11.
The reason is that the MariaDB server returns a version number that does not follow the MySQL version standard and is incorrectly parsed by the MySQL driver which causes it to disable fractional seconds support.
This issue does not occur with MariaDB 11.4 though.
To address the issue, the dedicated MariaDB Connector/J JDBC driver will be used for any connection URL starting with
jdbc:mariadb
Related issues and/or PRs
N/A
Changes made
Add the MariaDB JDBC driver.
Checklist
Additional notes (optional)
Release notes
Use the MariaDB Connector/J JDBC driver for any connection URL starting with
jdbc:mariadb