current_version

Description

Returns the current engine version. Two syntaxes are provided for compatibility with different clients.

Syntax

current_version();

@@version_comment;

Parameters

None

Return value

Returns a value of the VARCHAR type.

Examples

mysql> select current_version();
+-------------------+
| current_version() |
+-------------------+
| 2.1.2 0782ad7     |
+-------------------+
1 row in set (0.00 sec)