射雕游戏初始化数据库失败,解决mysql提示Can ‘t connect to local MySQL server through socket ‘/tmp/mysql.sock ‘(2) “

  • 时间:
  • 浏览:
  • 来源:互联网

启动游戏发现,初始化数据库失败,错误信息为:dial tcp 127.0.0.1:3306: connect: connection refused

mysql -uroot -p  之后输入密码提示:Can 't connect to local MySQL server through socket '/tmp/mysql.sock '(2) ";

 

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

本文链接http://www.dzjqx.cn/news/show-617374.html