Uploaded image for project: 'MariaDB Connector/node.js'
  1. MariaDB Connector/node.js
  2. CONJS-263

ensure respecting server collation

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 3.2.1
    • other
    • None

    Description

      Connector use utf8mb4 in all exchanges.
      The problem is that current implementation use server truncated collation id in handshake packet. The problem is that when mariadb didn't have lots of collation, a single byte was ok. Since mysql8 and particulary for mariadb since MDEV-27009 that have huge amount of collation, relying on this value is not a good solution.

      New implementation must execute "SET NAMES utf8mb4" by default, ensuring that utf8mb4 will be the charset use in exchange, indicating to server to use correct collation.

      Attachments

        Activity

          People

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