MySQL8.0 Unable to load authentication plugin 'caching_sha2_password'

第三方可视化工具连接MySQL8.0 Unable to load authentication plugin 'caching_sha2_password'

操作

  • mysql -root -p 进入mysql数据库
  • use mysql 将数据库切换到mysql
  • alter user 'root'@'localhost' identified by '123456' password expire never; (单引号
  • alter user 'root'@'localhost' identified with mysql_native_password by '123456';
  • flush privileges;

命令行设置
可视化工具效果

参考文章

posted @ 2018-08-06 21:51  程序员肥猫  阅读(384)  评论(0编辑  收藏  举报