MySQL 9.0 Reference Manual Including MySQL NDB Cluster 9.0

30.4.5.22 The version_patch() Function

This function returns the patch release version of the MySQL server.

Parameters

None.

Return Value

A TINYINT UNSIGNED value.

Example
mysql> SELECT VERSION(), sys.version_patch();
+--------------+---------------------+
| VERSION()    | sys.version_patch() |
+--------------+---------------------+
| 8.4.0-tr     |                  26 |
+--------------+---------------------+