Comment 0 for bug 1244178

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

I noticed difference in server version parameter value when installing via Source vs Binary/RPM. To me Binary/RPM looks more correct. I found this behavior during my test on CentOS 6.

Installing Percona-Server-5.6.13-rel61.0.tar.gz via source.

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

Connection id: 7
Current database:
Current user: root@localhost
SSL: Not in use
Current pager: stdout
Using outfile: ''
Using delimiter: ;
Server version: 5.6.13 MySQL Community Server (GPL)
Protocol version: 10

mysql> show global variables like '%version%';
+-------------------------+------------------------------+
| Variable_name | Value |
+-------------------------+------------------------------+
| innodb_version | 5.6.13-60.3 |
| protocol_version | 10 |
| slave_type_conversions | |
| version | 5.6.13 |
| version_comment | MySQL Community Server (GPL) |
| version_compile_machine | x86_64 |
| version_compile_os | Linux |
+-------------------------+------------------------------+

While installing Percona-Server-5.6.13-rel61 from Binary/RPM.

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

Connection id: 1
Current database:
Current user: root@localhost
SSL: Not in use
Current pager: less
Using outfile: ''
Using delimiter: ;
Server version: 5.6.13-rel61.0 Percona Server with XtraDB (GPL), Release rel61.0, Revision 461
Protocol version: 10

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

You can see there is different value against "version_comment, innodb_version" parameter.