原文:MAC中Django中runserver提示Can't connect to local MySQL server through socket '/tmp/mysql.sock错误

好像不止遇到一次,直接Google就可以了,在stackoverflow中就有答案,答案就是你没有开MySQL 。 stackoverflow链接见http: stackoverflow.com questions cant connect to local mysql server through socket tmp mysql sock 开启MySQL的命令如下: mysql.server ...

2016-07-20 21:46 1 4887 推荐指数:

查看详情

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