Bug #121951 mysqld 8.4.13.1 reports itself as 8.4.13 (so does 9.7.4.1 and 26.10.0.1).

Submitted: 26 Nov 22:56
Reporter: Jean-François Gagné Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:8.4.13.1 OS:Any
Assigned to: CPU Architecture:Any

[26 Nov 22:56] Jean-François Gagné
Description:
Hi,

When invoked with the --version argument, mysqld 8.4.13.1 reports itself as 8.4.13.  I would expect it to report 8.4.13.1.  See How to repeat for details.

The same applies to the mysql client (see How to repeat).  Many other binaries are probably also affected.

The same applies for 9.7.4.1 and 26.10.0.1.

I reported this as S2 / Serious, because not being able to know exactly which binary is installed is not a minor thing.  If I installed 8.4.13.1, I want it to report 8.4.13.1 to avoid confusion with 8.4.13.

Note: from what I see, SELECT VERSION() also reports 8.4.13 instead of 8.4.13.1.

Many thanks for looking into this,

J-F Gagné

How to repeat:
##############################
# for --version.
for v in 8.4.13.1 9.7.4.1 26.10.0.1; do
  echo; echo $v
  tar -Jxf mysql-${v}-linux-glibc2.28-x86_64-minimal.tar.xz
  ./mysql-${v}-linux-glibc2.28-x86_64-minimal/bin/mysqld --version
  ./mysql-${v}-linux-glibc2.28-x86_64-minimal/bin/mysql --version
  rm -rf mysql-${v}-linux-glibc2.28-x86_64-minimal
done | tail -n +2
8.4.13.1
/tmp/mysql-8.4.13.1-linux-glibc2.28-x86_64-minimal/bin/mysqld  Ver 8.4.13 for Linux on x86_64 (MySQL Community Server - GPL)
./mysql-8.4.13.1-linux-glibc2.28-x86_64-minimal/bin/mysql  Ver 8.4.13 for Linux on x86_64 (MySQL Community Server - GPL)

9.7.4.1
/tmp/mysql-9.7.4.1-linux-glibc2.28-x86_64-minimal/bin/mysqld  Ver 9.7.4 for Linux on x86_64 (MySQL Community Server - GPL)
./mysql-9.7.4.1-linux-glibc2.28-x86_64-minimal/bin/mysql  Ver 9.7.4 for Linux on x86_64 (MySQL Community Server - GPL)

26.10.0.1
/tmp/mysql-26.10.0.1-linux-glibc2.28-x86_64-minimal/bin/mysqld  Ver 26.10.0 for Linux on x86_64 (MySQL Community Server - GPL)
./mysql-26.10.0.1-linux-glibc2.28-x86_64-minimal/bin/mysql  Ver 26.10.0 for Linux on x86_64 (MySQL Community Server - GPL)

##############################
# For SELECT VERSION().
# I need to work-around dbdeployer confusion of 8.4.13.1 for 8.4.13, see the issue linked below.
# https://github.com/ProxySQL/dbdeployer/issues/155
for v in 8.4.13 9.7.4 26.10.0; do # The .1 is added in the unpack command.
  echo; echo Testing $v.1
  dbdeployer unpack ~/mysql_bin/mysql-$v.1-linux-glibc2.28-x86_64-minimal.tar.xz | pv -tN unpack > /dev/null
  dbdeployer deploy single $v > /dev/null | pv -tN deploy
  ~/sandboxes/msb_${v//./_}/use -N <<< "SELECT '  reporting: ', VERSION()"
  ~/sandboxes/msb_${v//./_}/stop | pv -tN stop > /dev/null
  rm -rf ~/sandboxes/msb_${v//./_} ~/opt/mysql/$v
done | tail -n +2
Testing 8.4.13.1
   unpack: 0:00:07
   deploy: 0:00:00
  reporting:    8.4.13
     stop: 0:00:03

Testing 9.7.4.1
   unpack: 0:00:08
   deploy: 0:00:00
  reporting:    9.7.4
     stop: 0:00:03

Testing 26.10.0.1
   unpack: 0:00:08
   deploy: 0:00:00
  reporting:    26.10.0
     stop: 0:00:03

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.