Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4575

MySQL client doesn't strip off 5.5.5- prefix while connecting to 10.x server

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 5.1.73
    • None

    Description

      There was a small patch for 5.1+ that was supposed to allow 5.x clients to strip off 5.5.5- hack from the 10.x server version.
      It works all right in 5.2 and above, but not in 5.1.

      client/mysql -uroot --protocol=tcp
      Welcome to the MariaDB monitor.  Commands end with ; or \g.
      Your MariaDB connection id is 9
      Server version: 5.5.5-10.0.2-MariaDB-gcov-debug Source distribution
       
      Copyright (c) 2000, 2013, Oracle, Monty Program Ab and others.
       
      Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

      bzr version-info

      revision-id: monty@askmonty.org-20130511172357-i5vxzhomhn1pp56n
      revno: 3200
      branch-nick: 5.1

      Attachments

        Issue Links

          Activity

            This issue still are not fixed? I have Upgrade to MariaDB 10.2 but why showing MySQL version:5.5.5?

            Nirjonadda Md Tajirul Islam added a comment - This issue still are not fixed? I have Upgrade to MariaDB 10.2 but why showing MySQL version:5.5.5?
            elenst Elena Stepanova added a comment - - edited

            Nirjonadda, Which version of the client are you using?

            elenst Elena Stepanova added a comment - - edited Nirjonadda , Which version of the client are you using?

            How to check client version in CentOS 7? I have some output from the following command.

            [root@na ~]# mysql -V
            mysql  Ver 15.1 Distrib 10.2.8-MariaDB, for Linux (x86_64) using readline 5.1
            [root@na ~]# rpm -qa | grep mariadb
            cpanel-mariadb-native-client-devel-1.0.1-6.cp1154.x86_64
            cpanel-mariadb-native-client-1.0.1-6.cp1154.x86_64
            [root@na ~]#
            

            Nirjonadda Md Tajirul Islam added a comment - How to check client version in CentOS 7? I have some output from the following command. [root @na ~]# mysql -V mysql Ver 15.1 Distrib 10.2 . 8 -MariaDB, for Linux (x86_64) using readline 5.1 [root @na ~]# rpm -qa | grep mariadb cpanel-mariadb- native -client-devel- 1.0 . 1 - 6 .cp1154.x86_64 cpanel-mariadb- native -client- 1.0 . 1 - 6 .cp1154.x86_64 [root @na ~]#

            Nirjonadda, I meant the client program which you got the screenshot from – what is it?

            elenst Elena Stepanova added a comment - Nirjonadda , I meant the client program which you got the screenshot from – what is it?

            Its is Chevereto - Image Hosting Script, You can read more from here: https://chevereto.com/community/threads/mysql-slow-queries.8971/#post-48918

            Nirjonadda Md Tajirul Islam added a comment - Its is Chevereto - Image Hosting Script, You can read more from here: https://chevereto.com/community/threads/mysql-slow-queries.8971/#post-48918

            People

              serg Sergei Golubchik
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.