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