[MDEV-4575] MySQL client doesn't strip off 5.5.5- prefix while connecting to 10.x server Created: 2013-05-24  Updated: 2017-08-28  Resolved: 2013-05-25

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.73

Type: Bug Priority: Minor
Reporter: Elena Stepanova Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: client

Attachments: PNG File Screenshot_87.png    
Issue Links:
Relates
relates to MDEV-4088 Replication 10.0 -> 5.5 fails Closed

 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



 Comments   
Comment by Md Tajirul Islam [ 2017-08-28 ]

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

Comment by Elena Stepanova [ 2017-08-28 ]

Nirjonadda, Which version of the client are you using?

Comment by Md Tajirul Islam [ 2017-08-28 ]

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 ~]#

Comment by Elena Stepanova [ 2017-08-28 ]

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

Comment by Md Tajirul Islam [ 2017-08-28 ]

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

Generated at Thu Feb 08 06:57:28 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.