> 本文作者:丁辉 # Python 连接 Mysql 发生错误 **报错:** **问题解决方案:** ```bash ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'password'; ``` 完美解决