您的位置:首页 > 数据库 > MySQL

mysql kill thread

2015-12-23 21:57 621 查看
jrhdpt02:/root# mysql -uroot -p'x' -e "show processlist" | grep query | grep local
Warning: Using a password on the command line interface can be insecure.
177550	query_all	localhost	NULL	Sleep	55		NULL

jrhdpt02:/root# mysql -uroot -p'x' -e "show processlist" | grep query | grep local
Warning: Using a password on the command line interface can be insecure.
177550	query_all	localhost	NULL	Sleep	70		NULL
177556	query_all	localhost	NULL	Sleep	2		NULL

mysql> show databases;
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
Connection id:    177575
Current database: *** NONE ***
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: