mysql启动报错:Another MySQL daemon already running with the same unix socket.

[root@localhost ~]# /etc/init.d/mysqld restart
Stopping mysqld:                                           [  OK  ]
Another MySQL daemon already running with the same unix socket.
Starting mysqld:                                           [FAILED]

原因多个Mysql进程使用了同一个socket。

解决方案:

  • 删除mysql.sock 文件
[root@localhost ~]# rm -fr /var/lib/mysql/mysql.sock
[root@localhost ~]# etc/init.d/mysqld restart
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
原文地址:https://www.cnblogs.com/tyzZ001/p/5754761.html