percona server outputs wrong version_comment in ubuntu/debian

Bug #1327817 reported by Muhammad Irfan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Triaged
High
Tomislav Plavcic
5.1
Invalid
Undecided
Unassigned
5.5
Triaged
High
Tomislav Plavcic
5.6
Triaged
High
Tomislav Plavcic

Bug Description

I've begun testing upgrades from Percona Server 5.6.15 to 5.6.17 and noticed the banner message when I request the version does not include Percona. This looks similar to it https://bugs.launchpad.net/percona-server/+bug/1319670
Also, i found the same issue with latest PS 5.5

mysql> show global variables like '%version%';
+-------------------------+-------------------------+
| Variable_name | Value |
+-------------------------+-------------------------+
| innodb_version | 5.5.37-35.0-35.0 |
| protocol_version | 10 |
| slave_type_conversions | |
| version | 5.5.37-35.0-657.precise |
| version_comment | (Ubuntu) |
| version_compile_machine | x86_64 |
| version_compile_os | debian-linux-gnu |
+-------------------------+-------------------------+

Ubuntu
======
root@ubuntu12:~# mysqld --version
mysqld Ver 5.6.17-65.0-587.precise for debian-linux-gnu on x86_64 ((Ubuntu))

mysql> show global variables like '%version%';
+-------------------------+-------------------------+
| Variable_name | Value |
+-------------------------+-------------------------+
| innodb_version | 5.6.17-65.0 |
| protocol_version | 10 |
| slave_type_conversions | |
| version | 5.6.17-65.0-587.precise |
| version_comment | (Ubuntu) |
| version_compile_machine | x86_64 |
| version_compile_os | debian-linux-gnu |
+-------------------------+-------------------------+

mysql> status
--------------
mysql Ver 14.14 Distrib 5.6.17-65.0, for debian-linux-gnu (x86_64) using EditLine wrapper

Server version: 5.6.17-65.0-587.precise (Ubuntu)

Debian:
======
# mysqld --version
mysqld Ver 5.6.17-65.0-587.wheezy for debian-linux-gnu on x86_64 ((Debian))

mysql> show global variables like '%version%';
+-------------------------+------------------------+
| Variable_name | Value |
+-------------------------+------------------------+
| innodb_version | 5.6.17-65.0 |
| protocol_version | 10 |
| slave_type_conversions | |
| version | 5.6.17-65.0-587.wheezy |
| version_comment | (Debian) |
| version_compile_machine | x86_64 |
| version_compile_os | debian-linux-gnu |
+-------------------------+------------------------+

mysql> status
--------------
mysql Ver 14.14 Distrib 5.6.17-65.0, for debian-linux-gnu (x86_64) using EditLine wrapper

Server version: 5.6.17-65.0-587.wheezy (Debian)

Below is from previous version which worked fine.

root@ubuntu12:/var/lib/mysql# mysqld --version
mysqld Ver 5.6.15-63.0 for Linux on x86_64 (Percona Server (GPL), Release 63.0)

mysql> show global variables like '%version%';
+-------------------------+------------------------------------+
| Variable_name | Value |
+-------------------------+------------------------------------+
| innodb_version | 5.6.15-rel63.0 |
| protocol_version | 10 |
| slave_type_conversions | |
| version | 5.6.15-63.0 |
| version_comment | Percona Server (GPL), Release 63.0 |
| version_compile_machine | x86_64 |
| version_compile_os | Linux |
+-------------------------+------------------------------------+

mysql> status
--------------
mysql Ver 14.14 Distrib 5.6.15, for Linux (x86_64) using EditLine wrapper

Server version: 5.6.15-63.0 Percona Server (GPL), Release 63.0

Tags: pkg i42867
Revision history for this message
Valerii Kravchuk (valerii-kravchuk) wrote :

I've confirmed this on Ubuntu 13.10 also.

tags: added: i42867 pkg
Revision history for this message
Ramesh Sivaraman (rameshvs02) wrote :

One more version name difference noticed in innodb_version string in PS-5.5 rpm/deb packages. "-35.1" repeated twice in innodb version name

{code}

Ubuntu
----------

show global variables like '%version%';
+-------------------------+--------------------------------------------------+
| Variable_name | Value |
+-------------------------+--------------------------------------------------+
| innodb_version | 5.5.37-35.1-35.1 |
| protocol_version | 10 |
| slave_type_conversions | |
| version | 5.5.37-35.1 |
| version_comment | Percona Server (GPL), Release 35.1, Revision 666 |
| version_compile_machine | x86_64 |
| version_compile_os | debian-linux-gnu |
+-------------------------+--------------------------------------------------+
7 rows in set (0.00 sec)

mysql>

CentOS
----------

mysql> show global variables like '%version%';
+-------------------------+--------------------------------------------------+
| Variable_name | Value |
+-------------------------+--------------------------------------------------+
| innodb_version | 5.5.37-35.1-35.1 |
| protocol_version | 10 |
| slave_type_conversions | |
| version | 5.5.37-35.1 |
| version_comment | Percona Server (GPL), Release 35.1, Revision 666 |
| version_compile_machine | x86_64 |
| version_compile_os | Linux |
+-------------------------+--------------------------------------------------+
7 rows in set (0.00 sec)

mysql>
{code}

Revision history for this message
Roel Van de Paar (roel11) wrote :

See PS-155, Bug 1319670

Revision history for this message
Roel Van de Paar (roel11) wrote :

<jaime> Roel: ok. bug appeared starting on 5.6.16

Revision history for this message
Tomislav Plavcic (tplavcic) wrote :

I think this is duplicate of the bug1319670 so I will mark it as that. For 5.5 the fix was released in 5.5.37-35.1, and for 5.6 it will be in the next release.
Rameshes comment about innodb_version is only applicable for 5.5 (not 5.6) and probably for rpm/binary also so I'll open a new bug .

Revision history for this message
Muhammad Irfan (muhammad-irfan) wrote :

root@ubuntu12:~# mysqld --version
mysqld Ver 5.1.73-rel14.11 for debian-linux-gnu on x86_64 ((Percona Server (GPL), 14.11, Revision 603))

mysql> show global variables like '%version%';
+-------------------------+---------------------------------------------+
| Variable_name | Value |
+-------------------------+---------------------------------------------+
| innodb_version | 5.1.73-14.11 |
| protocol_version | 10 |
| version | 5.1.73-rel14.11 |
| version_comment | (Percona Server (GPL), 14.11, Revision 603) |
| version_compile_machine | x86_64 |
| version_compile_os | debian-linux-gnu |
+-------------------------+---------------------------------------------+

mysql> status
--------------
mysql Ver 14.14 Distrib 5.1.73, for debian-linux-gnu (x86_64) using readline 5.1

Server version: 5.1.73-rel14.11 (Percona Server (GPL), 14.11, Revision 603)

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-155

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.