启动部分日志提示
[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
 

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐