今日某系统mysql root用户kill connection时报ERROR 1095 (HY000): You are not owner of thread N

按说通过root用户具有super权限,不应该会出现这种情况,最后通过关闭客户端相关连接使得问题临时解决。

事后经测试,当session在执行ddl语句时,如果kill connection时报ERROR 1095 (HY000): You are not owner of thread N,如下: 

| 2714 | root | localhost | pxc_test | Query | 38 | Waiting for table metadata lock | drop table t | 0 | 0 |

mysql> kill 2714;
ERROR 1095 (HY000): You are not owner of thread 2714

其他执行DML语句的连接不受此影响。

mysql> kill 2712;
Query OK, 0 rows affected (0.01 sec)

文档mysql root用户kill connection报ERROR 1095 (HY000): You are not owner of thread N并没有提及,这好像已经不是mysql文档第一次的坑了。

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-13
  • 2021-11-05
  • 2021-07-13
  • 2022-02-28
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-08
  • 2022-12-23
  • 2021-10-25
  • 2021-10-14
  • 2021-07-04
  • 2022-12-23
  • 2021-12-28
相关资源
相似解决方案