MariaDBのバージョンを確認する方法

環境
MariaDB 10.6.4
Windows 10 Home 64bit

方法1
「version()」を利用してMariaDBバージョンを確認します

MariaDB [(none)]> select version();
+----------------+
| version()      |
+----------------+
| 10.6.4-MariaDB |
+----------------+
1 row in set (0.001 sec)

方法2
「status」を利用してMariaDBバージョンを確認します。

MariaDB [(none)]> status
--------------
mysql  Ver 15.1 Distrib 10.6.4-MariaDB, for Win64 (AMD64), source revision 2db692f5b4d6bb31a331dab44544171c455f6aca

Connection id:          5
Current database:
Current user:           root@localhost
SSL:                    Not in use
Using delimiter:        ;
Server:                 MariaDB
Server version:         10.6.4-MariaDB mariadb.org binary distribution
Protocol version:       10
Connection:             localhost via TCP/IP
Server characterset:    utf8mb4
Db     characterset:    utf8mb4
Client characterset:    utf8mb3
Conn.  characterset:    utf8mb3
TCP port:               13306
Uptime:                 7 days 18 hours 53 min 20 sec

 

MariaDB

Posted by arkgame