mysql> show processlist;
+----+-----------------+-----------------+--------+---------+--------+------------------------+------------------+
| Id | User | Host | db | Command | Time | State | Info |
+----+-----------------+-----------------+--------+---------+--------+------------------------+------------------+
| 5 | event_scheduler | localhost | NULL | Daemon | 161500 | Waiting on empty queue | NULL |
| 20 | root | localhost:56856 | test01 | Query | 0 | init | show processlist |
+----+-----------------+-----------------+--------+---------+--------+------------------------+------------------+
2 rows in set, 1 warning (0.00 sec)
Mysql8.0 processlist查看当前用户连接信息
最新推荐文章于 2024-03-07 18:06:05 发布