Skip to main content
Version: Latest-4.1

version

Returns the current version of the MySQL database.

You can use current_version to query StarRocks version.

Syntax​

VARCHAR version();

Parameters​

None

Return value​

Returns a value of the VARCHAR type.

Examples​

mysql> select version();
+-----------+
| version() |
+-----------+
| 5.1.0 |
+-----------+
1 row in set (0.00 sec)

References​

current_version

Rocky the happy otterStarRocks Assistant

AI generated answers are based on docs and other sources. Please test answers in non-production environments.