RuntimeError: cryptography is required for sha256_password or caching_sha2_password


pycharm远程连接ecs上的mysql,报错:

RuntimeError: cryptography is required for sha256_password or caching_sha2_password

报错原因:mysql版本身份验证出现问题引起的

解决方案:安装 cryptography


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM