MySQL MariaDB

Check MariaDB Version

Whenever you install any database server or any other software for that matter on your system, you might want to know its installed version. This is done to ensure that you have the updated version of the target software or DBMS installed on your system. Moreover, it also enables you to install the other related packages correctly after knowing their compatibility with each other. Therefore, this is a quick tutorial to guide you on the method of checking the version of the MariaDB server installed in Ubuntu 22.04 system.

How to Check the Version of MariaDB in Ubuntu 22.04 System

Before proceeding with the method of checking the version of MariaDB in Ubuntu 22.04 system, you need to meet the following pre-requisite:

Pre-Requisite

For checking the version of MariaDB in Ubuntu 22.04 system in particular or any other operating system in general, you should have the MariaDB server installed in your target system.

Method

To check the version of the MariaDB server installed in your Ubuntu 22.04 system, you just need to run the following command in your terminal:

$ mariadb --version

Once you run this command in your terminal, (provided that the MariaDB server is already installed on your system) you will instantly be able to see the version of MariaDB as shown in the following image:

Conclusion

This article is designed to show you the command with which you can easily check the version of MariaDB installed in your Ubuntu 22.04 system. Therefore, by following this quick tutorial, you can easily find out the version of MariaDB at any time you want.

About the author

Karim Buzdar

Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. He blogs at LinuxWays.