表示 进入内容 11
Displaying posts with tag: 追查连接mysql的客户端 (reset)
追查连接mysql的客户端

1、show processlist;

2、查看host项,如:Host: 172.16.9.5:8251

3、用netstat -ntp | grep :8251查看是谁发起的连接,以及进程id

4、找到进程ID后,可以利用进程id显示更多的信息,比如其他连接,打开的文件等。

【mysql】  【追查连接mysql的客户端】   点击查看原文>

表示 进入内容 11