diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index 01e8a2bfb..5952da5a3 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -441,7 +441,7 @@ def my57cmd(version, method): subprocess.Popen(cmd_init_one, stdout=subprocess.PIPE, shell=True, bufsize=4096, stderr=subprocess.PIPE) - cmd_kill = "ps -ef|grep mysql |grep -v grep|awk '{print $2}'|xargs kill" + cmd_kill = "ps -ef|grep mysql |grep -v grep|grep -v py|awk '{print $2}'|xargs kill" mw.execShell(cmd_kill) cmd_start2 = gsDir + '/bin/mysqld_safe --defaults-file=' + gsDir + '/etc/my.cnf &'