原文:mysql error 2006, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock

遇到这种错误时,是因为使用docker 运行mysql后不能使用localhost 连接,必须使用ip . . . 连接 参考:https: stackoverflow.com questions connect to docker mysql container from localhost ...

2019-10-10 20:49 0 994 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM