[CONJ-804] 2.6.1 fails to connect with "Variable 'character_set_client' can't be set to the value of 'utf32'" Created: 2020-07-01  Updated: 2020-07-22  Resolved: 2020-07-22

Status: Closed
Project: MariaDB Connector/J
Component/s: configuration
Affects Version/s: None
Fix Version/s: 2.6.2

Type: Bug Priority: Major
Reporter: Pedro Rodriguez Assignee: Diego Dupin
Resolution: Fixed Votes: 2
Labels: None

Issue Links:
Duplicate
is duplicated by CONJ-808 Unable to connect to server with vers... Closed

 Description   

After updating to 2.6.1, our services started to throw the following exception when trying to connect to mysql.

Could not connect to HostAddress{host='example.com'', port=1234, type='master'}. (conn=595723) Variable 'character_set_client' can't be set to the value of 'utf32'

We don't set `character_set_client` explicitly, and all of our tables are set to utf8mb4. We set `charset` to `utf8mb4` on the connection string to Mysql.

Reverting back to 2.6.0 fixes the issue.



 Comments   
Comment by Doug Smith [ 2020-07-18 ]

I see exactly the same problem, with the same resolution. I can't find anywhere that we are explicitly setting character_set_client.

Comment by Diego Dupin [ 2020-07-22 ]

this is a regression introduced by CONJ-797.
Will be corrected in 2.6.2

Generated at Thu Feb 08 03:18:26 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.