1、pymysql.err.OperationalError: (2003, “Can’t connect to MySQL server on ‘localhost’ ([Errno 111] Connection refused)”)
摘要:
解决:MySQL> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'IDENTIFIED BY '123456' WITH GRANT OPTION; MySQL> flush privileges; 最终解决方法为 新建用户 增加 权限 #db = pymysql 阅读全文
posted @ 2019-04-08 09:45 Zhearts 阅读(9125) 评论(0) 推荐(0) 编辑