mysql干掉占用的链接

show full processlist 查看所有链接 select concat(‘KILL ‘,id,’;’) from information_schema.processlist where user=’你要查的那个用户名’ 拿到查询的结果拷贝出来执行,就可以干掉这个用户的链接 拿查询出来的结果去查询
相关文章
相关标签/搜索