DOS命令

1
netstat -aon|findstr "3306"

对于端口的查询和关闭