摘要:
Flask项目配置(Configuration) https://zhuanlan.zhihu.com/p/24055329 python官方配置 http://www.pythondoc.com/flask/config.html 阅读全文
posted @ 2020-10-15 16:26
乱炖er
阅读(191)
评论(0)
推荐(0)
摘要:
本地数据库能通过root和密码正常登录 逐一排查问题 1,查看端口是否正确(使用的默认端口 3306) mysql> show global variables like 'port'; 结果端口为0 2,修改端口号 查看/Library/LaunchDaemons下的com.oracle.oss. 阅读全文
posted @ 2020-10-15 14:43
乱炖er
阅读(4599)
评论(0)
推荐(2)
摘要:
问题描述pycharm本地数据库,莫名出现一个错误,总会提示授权失败:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) 此时切换到本地数据库,使用之前设置的密码无法进入,提示同样的错 阅读全文
posted @ 2020-10-15 14:17
乱炖er
阅读(1262)
评论(0)
推荐(0)
摘要:
pycharm本地调试,在postman中输入带下划线的参数没有问题,但是,当把项目部署到ecs中测试,使用带下划线的参数就会报错 typeerror int() argument must be a string a bytes-like object or a number 原因在于,ecs里使 阅读全文
posted @ 2020-10-15 11:31
乱炖er
阅读(2865)
评论(0)
推荐(1)
摘要:
pycharm远程连接ecs上的mysql,报错: RuntimeError: cryptography is required for sha256_password or caching_sha2_password 报错原因:mysql版本身份验证出现问题引起的 解决方案:安装 cryptogr 阅读全文
posted @ 2020-10-15 11:16
乱炖er
阅读(963)
评论(0)
推荐(0)
摘要:
使用pycharm调取本地mysql,没有任何问题,当连接ecs上的mysql,将数据库连接中的 localhost 换成 ip 地址后,报错: 1130-host ... is not allowed to connect to this MySql server 这个问题是因为在数据库服务器中的 阅读全文
posted @ 2020-10-15 11:08
乱炖er
阅读(1202)
评论(0)
推荐(0)

浙公网安备 33010602011771号