码迷,mamicode.com
首页 > 数据库 > 详细

MySQL status命令

时间:2018-08-10 19:55:54      阅读:1535      评论:0      收藏:0      [点我收藏+]

标签:slow   oca   div   unix   toc   avg   bin   har   character   

status命令用于查看MySQL的状态信息

mysql> status
--------------
/usr/local/mysql/bin/mysql  Ver 14.14 Distrib 5.5.32, for Linux (x86_64) using readline 5.1

Connection id:          34
Current database:
Current user:           root@localhost
SSL:                    Not in use
Current pager:          stdout
Using outfile:          ‘‘
Using delimiter:        ;
Server version:         5.5.32 Source distribution
Protocol version:       10
Connection:             Localhost via UNIX socket
Server characterset:    utf8
Db     characterset:    utf8
Client characterset:    utf8
Conn.  characterset:    utf8
UNIX socket:            /usr/local/mysql-5.5.32/tmp/mysql.sock
Uptime:                 3 days 10 hours 27 min 52 sec

Threads: 2  Questions: 81  Slow queries: 0  Opens: 39  Flush tables: 1  Open tables: 4  Queries per second avg: 0.000
--------------

 

 

 

 

    

MySQL status命令

标签:slow   oca   div   unix   toc   avg   bin   har   character   

原文地址:https://www.cnblogs.com/pzk7788/p/9456551.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!