MariaDB - how to check database version

  • Last update: Apr 3, 2024
  • Views: 32
  • Author: Admin
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