首页 > 数据库 >【Python】连接MySQL报错:RuntimeError 'cryptography' package is required for sha256_password or c

【Python】连接MySQL报错:RuntimeError 'cryptography' package is required for sha256_password or c

时间:2023-03-26 13:22:06浏览次数:58  
标签:sha2 methods cryptography RuntimeError auth 报错 password

✨报错提示

RuntimeError: 'cryptography' package is required for sha256_password or caching_sha2_password auth methods

✨解决方案

pip install cryptography

⭐转载请注明出处

本文作者:双份浓缩馥芮白

原文链接:https://www.cnblogs.com/Flat-White/p/17258529.html

版权所有,如需转载请注明出处。

标签:sha2,methods,cryptography,RuntimeError,auth,报错,password
From: https://www.cnblogs.com/Flat-White/p/17258529.html

相关文章