连接MySQL报错了,问题出在哪呢,求大佬指点Connection to db failed.[08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up.
连接数据库失败的提示是“权限不足”,可能是数据库服务器对来访IP做了限制,或则用户名和密码不对。都检查下。
有没有导入pymysql模块?