Closed gangxie112 closed 8 months ago
Since permitMysqlScheme
is param of jdbc url, It's not related to connection pool.
You would only have that problem if you are setting a jdbcUrl
, and if you are setting a jdbcUrl
then you have the ability to add that parameter to the jdbcUrl
. So the answer is to just add that property to your jdbcUrl
.
I'm marking this as closed.
The latest version of MariaDB connector has restricted the schema of mysql. Need add "permitMysqlScheme" for the acception of the url. See https://mariadb.com/kb/en/about-mariadb-connector-j/#source-code.
We are using HikariCP, and want to switch to MariaDB driver. It's that there is no way to to config HikariCP to add "permitMysqlScheme". Not sure if I miss something, is there any other way to make the 3 guys (HikariCP, MariadDB Connector and the mysql server) work together?
Thanks,