用pycharm连接数据库是出现:1. pymysql.err.OperationalError 1045 Access denied
解决办法:在终端进入mysql,然后输入ALTER USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘写你要改的密码’;
2.RuntimeError: cryptography is required for sha256_password or caching_sha2_p
解决办法:pip install cryptography
OperationalError 1045 Access denied/.RuntimeError: cryptography is required for sha256_p解决办法
最新推荐文章于 2022-09-26 12:37:21 发布