美文网首页
mysql client does not support au

mysql client does not support au

作者: 王云飞_小四_wyunfei | 来源:发表于2020-01-09 20:48 被阅读0次

安装了最新版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';

然后再  使用链接测试 应该就可以了;

相关文章

网友评论

      本文标题:mysql client does not support au

      本文链接:https://www.haomeiwen.com/subject/xnkckqtx.html