Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
2.6.1
-
java 11, spring boot, mariadb 10.3
Description
Upgrading to latest version of the connector makes my app unable to connect to the database with the following error:
java.sql.SQLSyntaxErrorException: Could not connect to address=(host=localhost)(port=3306)(type=master) : (conn=409) Variable 'character_set_client' can't be set to the value of 'utf32'
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62) ~[mariadb-java-client-2.6.1.jar!/:na]
I tried to change the connection url (adding CharSet=utf8) and also configuring default client and server charset on mariadb (running on debian buster), but without luck.
Since I was unable to find a way to fix this problem I had to revert to the old version (2.6.0 is fine)
Attachments
Issue Links
- duplicates
-
CONJ-804 2.6.1 fails to connect with "Variable 'character_set_client' can't be set to the value of 'utf32'"
- Closed