安装了最新版8.0 mysql;
使用navicat 10链接时 提示:
client does not support authentication protocol requested by server;consider upgrading mysql client
解决:
**命令窗口cmd,登录**
mysql -u root -p
登录后执行:
*ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '你的root账号密码';这个可能用不上*
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '你的root账号密码';
SELECT plugin FROM mysql.user WHERE User = 'root';
然后再 使用链接测试 应该就可以了;
网友评论