How to kill all mysql process

Use the below query to get all the process SELECT CONCAT('KILL ',id,';') AS run_this FROM information_schema.processlist WHERE user='your database username' Here replace 'your database username' with your actual database username,…