关闭数据库

 

kill -9 $(ps -ef |grep 'mysql'|gawk '$0 !~/grep/ {print $2}'|tr -s '/n')

 

posted @ 2016-06-22 17:52  bass  阅读(101)  评论(0编辑  收藏  举报