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

protocol error when not setting database, indicating null authentication plugin

    XMLWordPrintable

Details

    Description

      When no database is set in the connection string, the driver will add a null byte in the authentication response packet.

      The server will decode that additional null byte as an empty plugin value, doing an unnecessary authentication switch request step.
      The second authentication will succeed but is an unnecessary round trip.

      In combination with maxscale, this cause connection to fail.

      Attachments

        Issue Links

          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.