zoukankan      html  css  js  c++  java
  • navicat连接时:client does not support authentication protocol requested by server; consider upgrading MySQL client

    client does not support authentication protocol requested by server; consider upgrading MySQL client(客户端不支持服务器请求的身份验证协议;请考虑升级MySQL客户端)

    解决过程:

    一、进入MySQL的安装bin目录,进入黑窗口

    二、使用root用户名登录(需要输入密码)

    mysql -u root -p

     三、插叙用户信息

    select host,user,plugin,authentication_string from mysql.user;

    host为%表示不限制ip   

    host为localhost表示本机使用   

    plugin非mysql_native_password值 则需要修改密码,并以此协议修改密码

     四、更改用户密码(新密码仍然为root密码)

    ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';

    五、刷新权限

    flush privileges;

     六、再次查询用户信息

     七、使用navicat重新连接

  • 相关阅读:
    Game Engine Architecture 3
    Game Engine Architecture 2
    补码
    工厂模式
    Game Engine Architecture 1
    YDWE Keynote
    3D Math Keynote 4
    3D Math Keynote 3
    3D Math Keynote 2
    OGRE中Any 类型的实现
  • 原文地址:https://www.cnblogs.com/luna-hehe/p/14676517.html
Copyright © 2011-2022 走看看