MariaDB Tutorial MariaDB Advanced MariaDB Database Account Management MariaDB References

MariaDB VERSION() Function



The MariaDB VERSION() function returns the version of the MariaDB database. This function uses UTF8 character set.

Syntax

VERSION()

Parameters

No parameter is required.

Return Value

Returns the version of the MariaDB database.

Example:

The example below shows the usage of VERSION() function.

SELECT VERSION();

The above query will return the version of the MariaDB database and the output of the above query will be similar to:

SELECT VERSION();
Result: '10.7.3-MariaDB-1:10.7.3+maria~focal'

❮ MariaDB Functions