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

Old MySQL doesn't support utf8mb4

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 1.8.0, 2.4.0
    • MySQL compatibility
    • None
    • Linux, Brighthouse with MySQL 5.1.40

    Description

      MySQL 5.5.3 introduced the charset utf8mb4, but I'm trying to use the connector with version 5.1.40, which does not support this. Unfortunately, since the server doesn't support the encoding, it falls back to its default, which is latin1 and since the connector doesn't use the charset returned in the resultsets, the strings created contains character encoding errors.

      Since the server greeting contains the version, is it possible to fall back to utf8 (utf8mb3) on older releases?

      Attachments

        Issue Links

          Activity

            People

              diego dupin Diego Dupin
              erik.karlsson Erik Karlsson
              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.