📌  相关文章
📜  '客户端不支持服务器请求的认证协议;考虑升级 MySQL 客户端', sqlState: '08004', - SQL 代码示例

📅  最后修改于: 2022-03-11 15:04:57.334000             🧑  作者: Mango

代码示例1
$ mysql -u root -p
Enter password: (enter your root password)

mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your_new_password';
mysql> FLUSH PRIVILEGES;
mysql> quit