查看 MySQL 版本的方式

Mysql查看版本号的五种方式介绍


mysql> status; 
-------------- 
mysql Ver 14.14 Distrib 5.1.69, for redhat-linux-gnu (x86_64) using readline 5.1 
Connection id:3 
Current database: 
Current user: root@localhost 
SSL: Not in use 
Current pager:stdout 
Using outfile:'' 
Using delimiter:; 
Server version:5.1.69 Source distribution 
Protocol version:10 
Connection: Localhost via UNIX socket 
Server characterset:utf8 
Db characterset:utf8 
Client characterset:utf8 
Conn. characterset:utf8 
UNIX socket: /var/lib/mysql/mysql.sock 
Uptime: 3 days 14 hours 50 sec 
Threads: 1 Questions: 5 Slow queries: 0 Opens: 15 Flush tables: 1 Open tables: 8 Queries per second avg: 0.0 

你可能感兴趣的:(MySQL)