Reflect of indicate.(minor change)
@@ -89,6 +89,7 @@ public class MySQLAuthenticationProviderModule implements Module {
// For compatibility, set legacy useSSL property when SSL is disabled.
if (sslMode == MySQLSSLMode.DISABLED)
driverProperties.setProperty("useSSL", "false");
+ // For compatibility, set legacy useSSL property when SSL is eisabled.(Required for mariadb connector/j)
else
driverProperties.setProperty("useSSL", "true");
