查询MySQL数据库版本

[root@localhost ~]# /program/mysql/bin/mysql
mysql> SELECT VERSION() AS `version`;
+---------+
| version |
+---------+
| 5.7.41  |
+---------+
1 row in set (0.00 sec)
 
mysql> EXIT;
Bye
[root@localhost ~]#

Copyright © 2024 码农人生. All Rights Reserved