USE mysql;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
FLUSH PRIVILEGES;
相关文章
- Navicat连接Mysql报错:Client does not support authentication protocol requested by server;
- MySQL 8.0 - Client does not support authentication protocol requested by server; consider upgrading MySQL client
- Mysql8 连接提示 Client does not support authentication protocol requested by server; consider upgrading MySQL client 解决方法