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
- What type to use for a year in Mariadb?
- How to get current year in Mariadb?
- How to use UUID in Mariadb?
- How to get yesterday's date in Mariadb?
- How to work with XML in Mariadb?
- How to list users in Mariadb?
- Mariadb partitioning example
- How to view Mariadb logs?
- How to use XA transactions in Mariadb?
See more codes...