版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_35063002/article/details/82849501
mysql Client does not support authentication protocol requested by server; consider upgrading MySQL
只安装MySQL sever 用navicat 连接
解决方法:
管理员后台(root),输入密码
use mysql;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '你的密码';
或者:
mysql -u root -p
-
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '你的密码';
-
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '你的密码';
-
SELECT plugin FROM mysql.user WHERE User = 'root';