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

Add an option to detect Server version using a dedicated SELECT @@version

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0
    • compatibility
    • None

    Description

      see https://github.com/mariadb-corporation/mariadb-connector-nodejs/issues/96
      Azure is using a proxy that will return a MySQL handshake not reflecting real server.

      from https://docs.microsoft.com/en-us/azure/mariadb/concepts-supported-versions :

      Note: In the service, a gateway is used to redirect the connections to server instances. After the connection is established, the MySQL client displays the version of MariaDB set in the gateway, not the actual version running on your MariaDB server instance. To determine the version of your MariaDB server instance, use the SELECT VERSION(); command.

      A new option `forceVersionCheck` has to be added to permit issuing a new SELECT @@version to retrieve the correct server version. Connector will then act according to that server version.

      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.