Client does not support authentication protocol requested by server; consider upgrading MySQL client
客户端不支持服务器请求的身份验证协议;考虑升级MySQL客户端,运用MySQL 8.0 Command Line Client - Unicode输入指令;
1、use mysql;--使用
2、alter user 'root'@'localhost' identified with mysql_native_password by '你的密码';
原因是MySQL8的新特性,MySQL8默认使用 caching_sha2_password 身份验证机制。旧客户端不支持这种验证,当然就无法登入了。
3、flush privileges;
浙公网安备 33010602011771号