MySQL错误Another MySQL daemon already running with the same unix socket.
来源:互联网 发布:桌面软件开发语言 编辑:程序博客网 时间:2024/05/07 04:12
在国外网站发现的解决方法。
原因多个MySQL进程使用了同一个socket。
两个方法解决:
第一个是立即关机 使用命令 shutdown -h now 关机,关机后在启动,进程就停止了。
第二个直接把mysql.sock文件改名即可。也可以删除,推荐改名。
然后就可以启动mysql了。
下面是国外原文
To prevent the problem from occurring, you must perform a graceful shutdown of the server from the command line rather than powering off the server.
# shutdown -h now
This will stop the running services before powering down the machine.
Based on Centos, an additional method for getting it back up again when you run into this problem is to move mysql.sock:
# mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bak
# service mysqld start
Restarting the service creates a new entry called mqsql.sock
阅读全文
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.
- Maven 构建生命周期
- 光学三角法知识点总结
- Android——RoundedImageView应用及源码总结笔记
- effective C++条款五解读
- java性能优化
- MySQL错误Another MySQL daemon already running with the same unix socket.
- Kettle安装和配置
- 循环单词
- kolla部署的openstack配置https
- 【腾讯云开发中的坑2】Unsupported major.minor version 52.0
- 【JS数据类型】JS中的判断数据类型函数
- Extjs6.2 继承与扩展
- infinite-scroll插件使用
- 嵌入式uboot,内核启动通过nfs挂载根文件系统