RSS
腾讯微博
新浪微博
QQ留言
留言板
Linux
Mysql
Html-js-css
Objective-C
Python
Ruby on rails
Php
wordpress
Thinkphp
Wayde.翼
留言板
Linux
Mysql
Html-js-css
Objective-C
Python
Ruby on rails
Php
wordpress
Thinkphp
Home
> Categories >
Linux
> shell 指令 杀死mysql指定用户的所有进程
shell 指令 杀死mysql指定用户的所有进程
2015.08.12
shell 指令 杀死mysql指定用户的所有进程
已关闭评论
#例
$2横向第二栏用户栏
for i in $(mysql -uroot -p123456 -se "show processlist" |
awk '{if($2=="admin")print $1}');do mysql -uroot -p123456 -e "kill $i";done
Related Posts:
linux下添加svn用户名密码
Posted on 2018.03.29
SCP 实现2台主机文件传递
Posted on 2017.09.25
阿里云 使用startssl申请配置免费https证书
Posted on 2016.12.29
评论已关闭。
姿势
知识是我们已知的, 也是我们未知的 ,基于已有的知识之上 我们去发现未知的, 由此,知识得到扩充 ,我们获得的知识越多 ,未知的知识就会更多 ,因而,知识扩充永无止境。
Time
近期文章
Linux ntpdate同步网络时间
React入门-原创
树莓派多个wifi设置方法-百度方法
Redis多机功能介绍
CentOS7安装Docker
近期评论
文章归档
2018年10月
2018年9月
2018年8月
2018年6月
2018年5月
2018年4月
2018年3月
2018年2月
2018年1月
2017年9月
2017年8月
2017年2月
2017年1月
2016年12月
2016年10月
2016年9月
2016年8月
2016年5月
2016年3月
2016年2月
2015年12月
2015年11月
2015年10月
2015年9月
2015年8月
2015年7月
2015年5月
2015年4月
2015年1月
2014年12月
2014年11月
2014年9月
2014年8月
2014年7月
2014年6月
2014年5月
2014年4月
2014年3月
2014年2月
2014年1月
2013年12月
2013年11月
2013年10月
2013年9月
2013年8月
2013年7月
2013年6月
2013年5月
2013年4月
2013年3月
2013年2月
2013年1月
2012年12月
分类目录
agreement
apache
centos
Composer
docker
Drupal
Ecshop
Encryption
Git
Html-js-css
js
Linux
Linux
Mac系统
Memcache
Mongodb
Mysql
Nginx
Node.js
Objective-C
Php
php工具
php监测代码
Python
redis
rsync
Ruby on rails
sphinx
swoole
Thinkphp
Ubuntu
vim
Wordpress
yii
Zend Framework
互联网小工具
基础扎根篇
工具安装
杂谈
树莓派
项目管理
友情连接
松林51's blog
运达51's blog
沧州好站长's SiteMap
逗比来了の博客
AONG的博客
好为博客
Laruence博客
WP CEO博客
小姿情调潮服