mysql启动报错:Another MySQL daemon already running with the same unix socket.
来源:互联网 发布:买淘宝号 编辑:程序博客网 时间:2024/06/05 16:46
[root@localhost ~]#/etc/init.d/mysqld restart
Stopping mysqld: [ OK ]
Another MySQL daemon already running with the same unix socket.
Starting mysqld: [FAILED]
原因多个Mysql进程使用了同一个socket。
两个方法解决:
第一个是立即关机 使用命令 shutdown -h now 关机,关机后在启动,进程就停止了。
第二个直接把mysql.sock文件改名即可。也可以删除,推荐改名。
然后就可以启动mysql了。
[root@localhost ~]#mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bak
[root@localhost ~]# find / -name mysql.sock
[root@localhost ~]# etc/init.d/mysqld restart
Stopping mysqld: [ OK ]
Starting mysqld: [ OK ]
0 0
- 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】linux下启动mysql服务报错: 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
- Another MySQL daemon already running with the same unix socket.
- msyql启动错误Another MySQL daemon already running with the same unix socket.
- msyql启动错误 : Another MySQL daemon already running with the same unix socket.
- MySQL错误Another MySQL daemon already running with the same unix socket.
- Redis数据库的使用场景介绍(避免误用Redis)
- 怎么判断mp3/音频文件加载完成
- Item 47:使用Traits类提供类型信息
- Item 48:了解模板元编程
- JDBC连接mysql<PreparedStatement>
- mysql启动报错:Another MySQL daemon already running with the same unix socket.
- C# 中DateTime的各种使用
- Item 49:new handler的行为
- CentOS取消屏幕保护自动锁屏功能
- PL/SQL教程之五:异常错误处理
- 谷歌设计师的Material Design实践心得
- 动态规划之01背包问题(最易理解的讲解)
- symfony对于mysql自动设置时间字段
- 动态规划0-1背包问题