# linux mysql , MariaDB 버전확인 방법 #

NEW 블루온 3 in 1 캠핑용 에어컨 PRO 이동식 제습기, NEW 캠핑용 에어컨 PRO - 화이트

 

[root@woo ~]# mysql –version

mysql  Ver 15.1 Distrib 10.0.30-MariaDB, for Linux (x86_64) using readline 5.1

 

 

[root@woo ~]# mysql -uroot -p

Enter password: 

Welcome to the MariaDB monitor.  Commands end with ; or g.

Your MariaDB connection id is 41489

Server version: 10.0.30-MariaDB MariaDB Server

 

Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.

 

Type ‘help;’ or ‘h’ for help. Type ‘c’ to clear the current input statement.

 

MariaDB [(none)]> use mysql

Database changed

MariaDB [mysql]> 

MariaDB [mysql]> select version();

+—————–+

| version()       |

+—————–+

| 10.0.30-MariaDB |

+—————–+

1 row in set (0.00 sec)

 
 
MariaDB [mysql]> show variables like ‘version’;
+—————+—————–+
| Variable_name | Value           |
+—————+—————–+
| version       | 10.0.30-MariaDB |
+—————+—————–+
1 row in set (0.00 sec)
 
 
 
[root@woo ~]# mysqladmin -uroot -p패스워드 version | grep ^Server
Server version 10.0.30-MariaDB
 
 

 

Leave a Comment