In Linux systems, it is sometimes necessary to know the version number of the database so that vulnerabilities in the corresponding version can be found and patches can be installed in a timely manner. So how does the Linux system detect the version of the MariaDB server? Let’s take a look.

Method 1: The first way to find out the version is to log in to the MariaDB server. After logging in, you will see some MariaDB version information.

Another method is to enter the ‘status’ command in the command line that appears after logging into MariaDB. The output will show the server version and protocol version.

Method 2: If you do not have access to the MariaDB server, then you cannot use the first method. In this case, you can guess based on the version of the MariaDB installation package. This method is only useful if MariaDB is installed through the package manager.
Okay, the above is all the content brought to you by the editor of Huajun. Isn’t it very simple? Have you learned it? If you want to know more related content, please pay attention to Huajun information at any time. Welcome to Huajun to download!