This commit is contained in:
15
问题记录/Python连接Mysql发生错误.md
Normal file
15
问题记录/Python连接Mysql发生错误.md
Normal file
@@ -0,0 +1,15 @@
|
||||
> 本文作者:丁辉
|
||||
|
||||
# Python 连接 Mysql 发生错误
|
||||
|
||||
**报错:**
|
||||
|
||||
<img src="https://minio.offends.cn:9000/offends/images/mysql.png" style="zoom: 50%;" />
|
||||
|
||||
**问题解决方案:**
|
||||
|
||||
```bash
|
||||
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'password';
|
||||
```
|
||||
|
||||
完美解决
|
Reference in New Issue
Block a user