we should switch to the mariadb java connector.
Reason is we use a mariadb database so by using a mariadb java connector we may improve performance or better support for mariadb features.
It’s also better maintained and also supports session based variables.
we can use it like
type = mariadb hostname = <ip> database = <db> username = <username> url = jdbc:mariadb://<ip>/<db>?sessionVariables=character_set_client=utf8,character_set_results=utf8,character_set_connection=utf8,collation_connection=utf8_unicode_ci,collation_database=utf8_unicode_ci,collation_server=utf8_unicode_ci