Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-627

Failure to connect to MaxScale with MariaDB Connector/J

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.4.1
    • Core
    • None

    Description

      The connectors have extra logic in them that processes the 5.5.5- prefixed version strings sent by MariaDB 10.0 servers. This logic expects that it is followed by another version string.

      MaxScale 1.4.0 uses the string 5.5.5-1.4.0-maxscale for the handshake version string. The connector expects a connection string in the form of 5.5.5-10.x.y but fails with an NumberFormatException when it connects to MaxScale.

      The fix to this is to change the connection string from 5.5.5-<maxscale version> to 5.5.5-10.0.0-<maxscale version>.

      Attachments

        Activity

          People

            markus makela markus makela
            markus makela markus makela
            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.