how to kill process in mysql code example
Example 1: mysql kill
mysql> SELECT GROUP_CONCAT(CONCAT('KILL ',id,';') SEPARATOR ' ')
FROM information_schema.processlist WHERE user <> 'system user';
Example 2: mysql stop process
sudo service mysql restart
sudo service mysql stop
sudo service mysql start