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  ]
posted @ 2016-08-07 17:46  aallennty  阅读(131)  评论(0编辑  收藏  举报