mysql 8.0.23 启动报错 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '

 


 

mysql 版本: 8.0.23

设备:Macbook Pro

系统:macOS 10.15.7

错误信息:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)

 

问题出现原因:

机器风扇转的很快,然后重启让其休息以下,启动后再次连接 MySQL 出现该问题。


问题分析:

 

 

解决方案:

 

 

 


 

 

 

参考:

https://blog.csdn.net/u012373815/article/details/82188361

https://blog.csdn.net/hjf161105/article/details/78850658

 

上一篇:ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)


下一篇:MySQL出现:ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)问题解决