nivicat连接新安装的Mysql8.0 Client does not support authentication protocol requested by server; consid...

nivicat连接新安装的Mysql8.0    Client does not support authentication protocol requested by server; consider upgrading MySQL client

1. mysql -u root -p,命令执行后,输入安装时设置的密码

2. USE mysql; 

3. ALTER USER ‘root’@’localhost’ IDENTIFIED WITH mysql_native_password BY ‘newPassword’; 

4. FLUSH PRIVILEGES;

    原文作者:云顶天宫写代码
    原文地址: https://www.jianshu.com/p/39f92b2834c3
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞