码迷,mamicode.com
首页 > 数据库 > 详细

Another MySQL daemon already running with the same unix socket.

时间:2017-02-09 13:17:40      阅读:197      评论:0      收藏:0      [点我收藏+]

标签:ready   status   mysql   socket   tar   unix   mysq   other   启动   

问题描述:

查看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.

标签:ready   status   mysql   socket   tar   unix   mysq   other   启动   

原文地址:http://www.cnblogs.com/dingcx/p/6381582.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!