(2059,“Authentication Plugin 'caching_sha2_password'”) when running server connected with MYSQL database on Django

后端 未结 3 1616
盖世英雄少女心
盖世英雄少女心 2020-12-07 06:06

I want to configure my django project in order to connect it with database in MYSQL I created with workbench 8.0,
and then I want to r

3条回答
  •  误落风尘
    2020-12-07 07:01

    PyMySQL added support for caching_sha2_password in 0.9.0, though there was a Py2 error fixed in 0.9.1.

    Also noted in the install instructions, for caching_sha2_password there is the additional requirement:

    python3 -m pip install PyMySQL[rsa]
    

提交回复
热议问题