linux启动mysql提示3306端口被占用一解
启动部分日志提示[Note] Server hostname (bind-address): '0.0.0.0'; port: 3306[Note]- '0.0.0.0' resolves to '0.0.0.0';[Note] Server socket created on IP: '0.0.0.0'.[ERROR] Can't start server: Bind on TCP/IP por
启动部分日志提示
[Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
[Note] - '0.0.0.0' resolves to '0.0.0.0';
[Note] Server socket created on IP: '0.0.0.0'.
[ERROR] Can't start server: Bind on TCP/IP port: Address already in use
[ERROR] Do you already have another mysqld server running on port: 3306 ?
[ERROR] Aborting
InnoDB: Starting shutdown...
显示3306端口被占用
netstat -ntuap
查看占用端口进程
fuser -k 3306/tcp
好像类似回收端口
fuser 会显示正在使用指定的file,file system 或者 sockets的进程的PID
-k kill processes accessing the named file
service mysqld start
启动mysql
更多推荐
所有评论(0)