项目突然报了这个错误。

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

还怪让人头大的。

Can 't connect to local MySQL server through socket '/tmp/mysql.sock

解决方法:

Can 't connect to local MySQL server through socket '/tmp/mysql.sock

即可。

文章来源:刘俊涛的博客 欢迎关注公众号、留言、评论,一起学习。

__________________________________________________________________________________

若有帮助到您,欢迎点击推荐,您的支持是对我坚持最好的肯定(*^_^*)

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
  • 2021-12-29
猜你喜欢
  • 2021-11-29
  • 2021-05-20
  • 2021-11-28
  • 2021-12-19
  • 2022-12-23
  • 2022-01-17
  • 2021-12-21
相关资源
相似解决方案