添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

How to Check Your MariaDB Version

MariaDB is an open source relational database management system. This article shows how to check which version of MariaDB is running from various operating systems.

image_pdf image_print

MariaDB is an open source relational database management system (RDBMS). It works well for storing structured data and is often used for cloud-based applications.

MariaDB is a forked open source derivative of MySQL, which is also an RDBMS and is often used for on-premises data storage. Because MariaDB is a fork of the MySQL codebase, the two database engines are similar in syntax and features. While MariaDB has many similarities to MySQL, it’s important to know that it’s not an exact replica.

In most scenarios, developers work with MariaDB for enterprise cloud storage. It’s supported by many large cloud service providers, and it’s beneficial when you have large data silos that must be replicated across platforms. MySQL also supports enterprise applications, but some developers choose to port their application to MariaDB for performance reasons.

Because MariaDB is based on the MySQL codebase, it uses the same syntax for many functions. For example, the way you check the version of MariaDB will be the same as the way you’d do it for MySQL. However, some other commands might be different, so it’s best to check the documentation whenever you want to leverage new MariaDB functionality. For each operating system, you must be logged into your terminal to retrieve the version.

How to Check Your MariaDB Version: Linux

For most environments, MariaDB runs on a Linux server. Regardless of your Linux distribution, the command to identify your running server version is the same. The following command will display the MariaDB version:

Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 44 Server version: 10.0.17-MariaDB-0ubuntu1 (Ubuntu) Welcome to the MariaDB monitor.  Commands end with ; or \g. Your MariaDB connection id is 52 Server version: 10.4.13-MariaDB Homebrew

How to Check Your MariaDB Version: XAMPP

Apache developers offer an installation package containing a full solution for hosting dynamic web applications. It includes Apache, MariaDB, PHP, and Perl. XAMPP isn’t one package but several, including the MariaDB engine. To get the version that’s running after XAMPP is installed, you’ll use the same command that you would use to retrieve the version in your operating system.

To retrieve the MariaDB version from your XAMPP installation, type the following command into your terminal:

Keep Your MariaDB Version Up to Date

Regardless of your client operating system, knowing how to identify the MariaDB version running on the database server is a critical part of development. Every major upgrade to a new version of MariaDB adds new features , and developers deprecate some functionality. By querying for the database version, you can take advantage of newer features that make applications faster and help developers write more efficient code.

Purely Educational

Container vs. Pod: What’s the Difference?

Containers and pods are two technologies that are essential for deploying and managing applications....

10 min / By Pure Storage Read Post
Purely Educational

OPEX vs. CAPEX

In this article, we explore the key differences between OPEX and CAPEX, as well...

8 min / By Pure Storage Read Post
Purely Educational

How to Reduce AI Power Consumption in the Data Center

AI is a power-hungry endeavor. In this article, we explore the power consumption demands...

7 min / By Pure Storage Read Post
Purely Educational

Rancher vs. OpenShift

Rancher and OpenShift are container orchestration tools. In this article, we compare and contrast...

7 min / By Pure Storage Read Post