Yemilice

1.查看端口占用情况:netstat –tlnp   (加p可以看到是哪个进程占用了端口);

也可以用grep查找对应的被占用的端口,键入netstat –tlnp | grep 3306可以看到PID为1771

2.关闭进程:键入kill 1771即可杀死mysqld进程,然后键入netstat –tlnp |grep 3306发现,这个进程没有在运行了。

 

分类:

技术点:

相关文章:

  • 2021-12-31
  • 2021-11-24
  • 2021-04-30
  • 2022-12-23
  • 2021-04-16
  • 2021-06-15
  • 2021-06-05
  • 2021-11-20
猜你喜欢
  • 2022-12-23
  • 2022-01-06
  • 2021-11-23
  • 2021-11-18
  • 2021-10-19
  • 2022-12-23
  • 2021-12-12
相关资源
相似解决方案