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.1.8        | 20200730132215 | 2020-07-30 13:22:15 | 82c48e9     | 2020-07-30 13:12:40 |
    +----------------+----------------+---------------------+-------------+---------------------+