centos MySQL无法启动 [Errno 98] Address already in use

//lsof -i TCP:3306 查看占用
[root@cen8 ~]# lsof -i TCP:3306
COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
docker-pr 1845 root    4u  IPv4  50569      0t0  TCP *:mysql (LISTEN)
docker-pr 1849 root    4u  IPv6  50583      0t0  TCP *:mysql (LISTEN)

 service docker stop 停止docker服务 在重启mysql服务即可

上一篇:LINUX CFS 调度tick逻辑


下一篇:idea运行Tomcat出现 Address localhost:8080 is already in useAddress localhost:8080 is already in use