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 view Mariadb logs?
- Mariadb partitioning example
- How to get current year in Mariadb?
- How to work with XML in Mariadb?
- How to use window functions in Mariadb?
- How to change wait_timeout in Mariadb?
- How to get yesterday's date in Mariadb?
- How to use UUID in Mariadb?
- How to view Mariadb error log?
- How to install Mariadb on Kali linux?
See more codes...