“cryptography is required for sha256_password or caching_sha2_password”

后端 未结 7 1751
挽巷
挽巷 2020-12-13 19:29

Good day. Hope your all are well. Can someone help me with fix this?

I\'m new to the MySQL environment. I\'m trying to connect to MySQL Database remotely. I used th

7条回答
  •  孤城傲影
    2020-12-13 19:41

    To use “sha256_password” or “caching_sha2_password” for authenticate, you need to install additional dependency:

    $ python3 -m pip install PyMySQL[rsa]
    

    Source: https://pymysql.readthedocs.io/en/latest/user/installation.html

提交回复
热议问题