changanshisanzhao

二、SQLyog连接数据库报错plugin caching_sha2_password could not be loaded

SQLyog连接数据库报错plugin caching_sha2_password could not be loaded

2018年06月01日 16:08:09

阅读数:847

下载新版的 mysql 8.0.11 安装。

为了方便安装查看,我下载了sqlyog 工具 连接 mysql

配置新连接报错:错误号码 2058,分析是 mysql 密码加密方法变了。

解决方法:windows 下cmd 登录 mysql -u root -p 登录你的 mysql 数据库,然后 执行这条SQL:

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

#password 是你自己设置的root密码

然后在重新配置SQLyog的连接,则可连接成功了,OK。 

分类:

技术点:

相关文章:

  • 2021-09-28
  • 2021-11-08
  • 2021-09-28
  • 2021-12-14
  • 2021-11-18
  • 2021-08-08
  • 2021-09-28
猜你喜欢
  • 2021-09-28
  • 2021-04-28
  • 2021-09-25
  • 2021-12-01
  • 2021-11-29
  • 2021-11-18
相关资源
相似解决方案