Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-804

2.6.1 fails to connect with "Variable 'character_set_client' can't be set to the value of 'utf32'"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.2
    • Component/s: configuration
    • Labels:
      None

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              diego dupin Diego Dupin
              Reporter:
              pjrt Pedro Rodriguez
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: