本文主要是介绍【MySQL in Python】Authentication plugin ‘caching_sha2_password‘ is not supported,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported
应该是mysql-connector出了问题
首先卸载掉mysql-connector:
pip uninstall mysql-connector
再把mysql-connector-python卸载掉
pip uninstall mysql-connector-python
重新安装mysql-connector-python
pip install mysql-connector-python
这篇关于【MySQL in Python】Authentication plugin ‘caching_sha2_password‘ is not supported的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!