MariaDB - how to check database version

MariaDB - how to check database version

Colleagues hello to all.

In today's article, we'll talk about how you can check which version of the MariaDB database you have installed. For example, you want to upgrade your MariaDB database to the latest version, but don't know which one you currently have.

 

The first option is to connect through the mysql utility to the database and execute the command:

mariadb> SELECT version();

mariadb_check_version


 

The second equally effective option is to query the database:

mariadb> SHOW VARIABLES LIKE "version";

mariadb_check_version


 

The last option is to run the command in the terminal:

$. mysql -V

mariadb_check_version

 

All options are effective and will show you the same information about your version of the MariaDB database, so choose any of the options and use it.


 

Thank you all, I hope that my article helped you in some way.

SIMILAR ARTICLES

MariaDB - ERROR Incorrect definition of table
MariaDB - ERROR Incorrect definition of table
MARIADB
Read more
Mariabackup backup - gzip compression
Mariabackup backup - gzip compression
MARIADB
Read more
Mariabackup error - Error writing file UNKNOWN errno 32 Broken pipe
Mariabackup error - Error writing file UNKNOWN errno 32 Broken pipe
MARIADB
Read more