select concat('KILL ',id,';') from information_schema.processlist where user='dbaas_t2' into outfile '/tmp/a.txt'; source /tmp/a.txt;