Affects Version/s: 7.3.5 CE GA6
Fix Version/s: None
Component/s: Core Infrastructure > Database Access
Liferay 7.3.5 CE GA6
Liferay's MariaDB Connector/J [tomcat_home]/lib/ext/mariadb.jar version seems to be 1.1.9 (released in 2015). That connector version supports only two JDBC URL options: user and password.
I noticed this when having useSSL=false option in my JDBC URL as I don't have SSL enabled in my test environment:
This caused the following exception:
MariaDB Connector/J started supporting additional JDBC URL options in version 1.2.0 (released in 2015).
As Liferay's database template for MariaDB is:
and as it seems that MariaDB Connector/J version 1.1.9 is ignoring useUnicode, characterEncoding and useFastDateParsing options I think it would be important to get the connector version updated in Liferay Tomcat package.
I updated manually the MariaDB Connector/J to a fresh version and this seemed to solve the problem in my test environment.