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

Old MySQL doesn't support utf8mb4

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.4.0, 1.8.0
    • Component/s: MySQL compatibility
    • Labels:
      None
    • Environment:
      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

              Assignee:
              diego dupin Diego Dupin
              Reporter:
              erik.karlsson Erik Karlsson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: