首页 > 代码库 > Another MySQL daemon already running with the same unix socket.

Another MySQL daemon already running with the same unix socket.

问题描述:

查看MySQL进程的状态:

[root@dcx lib]# service mysqld status
mysqld is stopped

发现是关闭的,但是启动MySQL却报错

[root@dcx lib]# service mysqld start
Another MySQL daemon already running with the same unix socket.

 

解决方法:将mysql.sock备份一下,然后重新启动

mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bak

问题解决

Another MySQL daemon already running with the same unix socket.