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'"

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 2.6.2
    • configuration
    • 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

            pjrt Pedro Rodriguez created issue -
            dougsmithdev Doug Smith added a comment -

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

            dougsmithdev Doug Smith added a comment - I see exactly the same problem, with the same resolution. I can't find anywhere that we are explicitly setting character_set_client .
            diego dupin Diego Dupin made changes -
            Field Original Value New Value
            diego dupin Diego Dupin added a comment -

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

            diego dupin Diego Dupin added a comment - this is a regression introduced by CONJ-797 . Will be corrected in 2.6.2
            diego dupin Diego Dupin made changes -
            issue.field.resolutiondate 2020-07-22 16:35:27.0 2020-07-22 16:35:27.873
            diego dupin Diego Dupin made changes -
            Component/s configuration [ 14211 ]
            Fix Version/s 2.6.2 [ 24601 ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 110790 ] MariaDB v4 [ 135177 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.