Another MySQL daemon already running with the same unix socket.
Posted dingcx2013
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Another MySQL daemon already running with the same unix socket.相关的知识,希望对你有一定的参考价值。
问题描述:
查看mysql进程的状态:
[[email protected] lib]# service mysqld status
mysqld is stopped
发现是关闭的,但是启动MySQL却报错
[[email protected] 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.的主要内容,如果未能解决你的问题,请参考以下文章
MySQL故障处理一例_Another MySQL daemon already running with the same unix socket
MySQL错误Another MySQL daemon already running with the same unix socket.
mysql select in another select group:下线有多少人?
where column in from another select results with limit (mysql/mariadb)
Linux / mysql: is it safe to copy mysql db files with cp command from one db to another?