django连接mysql出现MySQLdb._exceptions.OperationalError
最新推荐文章于 2022-11-20 14:48:30 发布
在使用django连接mysql8.0时遇到MySQLdb._exceptions.OperationalError,原因是MySQLdb不支持caching_sha2_password加密方式。解决方案包括:登录mysql,检查并更改用户加密方式为旧版,更新配置,重启Pycharm后执行操作。
摘要由CSDN通过智能技术生成