Another MySQL daemon already running with the same unix socket.
来源:互联网 发布:python post json 编辑:程序博客网 时间:2024/05/22 07:56
原因多个Mysql进程使用了同一个socket。
究其原因,是因为某雪的非正常关机所导致滴,在断开电源时,MySQL进程并没有被正常结束,所以产生了“历史遗留问题”!
解决方法其实也很简单
两个方法解决:
第一个是立即关机 使用命令 shutdown -h now 关机,关机后在启动,进程就停止了。
第二个直接把mysql.sock文件改名即可。也可以删除,推荐改名。
然后就可以启动mysql了。
#rm /var/lib/mysql/mysql.sock
#service mysqld start
或者
# mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bak
# service mysqld start
0 0
- Another MySQL daemon already running with the same unix socket
- Another MySQL daemon already running with the same unix socket.
- Another MySQL daemon already running with the same unix socket
- Another MySQL daemon already running with the same unix socket.
- Another MySQL daemon already running with the same unix socket
- Another MySQL daemon already running with the same unix socket
- Another MySQL daemon already running with the same unix socket
- Another MySQL daemon already running with the same unix socket
- Another MySQL daemon already running with the same unix socket.
- Another MySQL daemon already running with the same unix socket
- 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错误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错误Another MySQL daemon already running with the same unix socket
- MySQL错误Another MySQL daemon already running with the same unix socket.
- 我们应当怎样爱国?
- eclipse hibernate入门实例
- 学习ASP.NET MVC5框架揭秘笔记-IIS/ASP.NET管道(三)
- Android 使用开源库StickyGridHeaders来实现带sections和headers的GridView显示本地图片效果
- CSS样式字体设置失效,呈现乱码
- Another MySQL daemon already running with the same unix socket.
- Arrays of pointers to functions
- C++ 经典开源代码
- 自己动手写字符串比较函数strcmp()
- http状态码
- 设计模式C++实现(1)——工厂模式(Factory)
- Linux NAPI机制
- rpm命令详解及安装
- 读背包九讲心得