mariadbHow to check version of Mariadb?
To check the version of MariaDB, you can use the SELECT VERSION()
command. This command will return the version of MariaDB that is currently running.
Example
mysql> SELECT VERSION();
+-----------------+
| VERSION() |
+-----------------+
| 10.4.13-MariaDB |
+-----------------+
1 row in set (0.001 sec)
The SELECT VERSION()
command consists of the following parts:
SELECT
: This is a keyword used to retrieve data from a database.VERSION()
: This is a function that returns the version of MariaDB that is currently running.
For more information, please refer to the following link:
More of Mariadb
- How to get current year in Mariadb?
- What type to use for a year in Mariadb?
- How to change wait_timeout in Mariadb?
- Mariadb partitioning example
- How to use window functions in Mariadb?
- How to use the WITH clause in Mariadb?
- How to install Mariadb on Ubuntu?
- How to work with XML in Mariadb?
- How to use variables in Mariadb?
See more codes...