You can execute an SQL statement to view the version of an AnalyticDB for MySQL cluster.

Procedure

  1. Connect to an AnalyticDB for MySQL cluster. For more information, see Connect to a cluster.
  2. Execute the following SQL statement:
    select adb_version();
  3. View the version of the cluster. Example:
    +----------------+----------------+---------------------+-------------+---------------------+
    | source_version | rpm_version    | build_date          | revision_id | revision_date       |
    +----------------+----------------+---------------------+-------------+---------------------+
    | 3.1.4.10       | 20210809205222 | 2021-08-09 20:52:22 | 97b631a     | 2021-08-09 20:32:04 |
    +----------------+----------------+---------------------+-------------+---------------------+