Closed mike-jumper closed 1 year ago
JdbcHelper.MariaDB is currently associated with the jdbc:mysql: URL scheme:
JdbcHelper.MariaDB
jdbc:mysql:
https://github.com/mybatis/guice/blob/21d12f4d9458870287bee593d50ccc06d19b2ad5/src/main/java/org/mybatis/guice/datasource/helper/JdbcHelper.java#L83
Unfortunately, this scheme is no longer accepted by MariaDB Connector/J as of version 3.0 (at least not without additional URL options):
https://mariadb.com/kb/en/about-mariadb-connector-j/#jdbcmysql-scheme-compatibility
Attempting to use JdbcHelper.MariaDB with a 3.x version of MariaDB Connector/J results in a "No suitable driver found for jdbc:mysql" error.
JdbcHelper.MariaDB
is currently associated with thejdbc:mysql:
URL scheme:https://github.com/mybatis/guice/blob/21d12f4d9458870287bee593d50ccc06d19b2ad5/src/main/java/org/mybatis/guice/datasource/helper/JdbcHelper.java#L83
Unfortunately, this scheme is no longer accepted by MariaDB Connector/J as of version 3.0 (at least not without additional URL options):
https://mariadb.com/kb/en/about-mariadb-connector-j/#jdbcmysql-scheme-compatibility
Attempting to use
JdbcHelper.MariaDB
with a 3.x version of MariaDB Connector/J results in a "No suitable driver found for jdbc:mysql" error.