RuntimeError: ‘cryptography‘ package is required for sha256_password or caching_sha2_password auth m
通过pycharm链接mysql数据库时,查询表报错提示:
RuntimeError: 'cryptography' package is required for sha256_password or caching_sha2_password auth methods
方法1:重启MySQL
① 以管理员身份,cmd中输入命令行“net start MySQL80”(根据安装的版本,MySQL80这里服务名称不一样),来启动mysql

② 输入 “mysql”,进入MySQL。

③ pychar
订阅专栏 解锁全文
783

被折叠的 条评论
为什么被折叠?



