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

Unable to connect to server with version 2.6.1

    XMLWordPrintable

Details

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

          Activity

            People

              diego dupin Diego Dupin
              Polve Alex
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.