启动命令:/etc/init.d/mysqld.restart
 
MySQL错误Another MySQL daemon already running with the same unix socket.
原因多个Mysql进程使用了同一个socket。
MySQL错误Another MySQL daemon already running with the same unix socket.
两个方法解决:
第一个是立即关机 使用命令 shutdown -h now 关机,关机后在启动,进程就停止了。
第二个直接把mysql.sock文件改名即可。也可以删除,推荐改名。
mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bak

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2022-01-11
猜你喜欢
  • 2022-12-23
  • 2021-06-25
  • 2022-12-23
  • 2021-10-01
  • 2021-04-28
  • 2022-12-23
  • 2021-11-08
相关资源
相似解决方案