数据库可视化,数据库连接出现问题;

2059 - Aunthentication plugin 'caching_sha2_password' connot be loaded问题解决办法

1045-Access denied for user 'root'@'localhost'或者@“ip”解决方法

1、查看此文件夹下是否有my.ini文件。

MYSQL:2059 Aunthentication plugin caching_sha2_password connot be loaded问题解决办法(Mysql连接Navicat)

2、打开这个目录,把隐藏项目勾上,然后进入到ProgramData中;

MYSQL:2059 Aunthentication plugin caching_sha2_password connot be loaded问题解决办法(Mysql连接Navicat)

3、把该文件复制到图1的目录中;

MYSQL:2059 Aunthentication plugin caching_sha2_password connot be loaded问题解决办法(Mysql连接Navicat)

4、将my.ini中的:default_authentication_plugin=caching_sha2_password

改成:default_authentication_plugin=mysql_native_password

5、进入Mysql命令行后修改密码,ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';

然后就可以连接了。

MYSQL:2059 Aunthentication plugin caching_sha2_password connot be loaded问题解决办法(Mysql连接Navicat)

MYSQL:2059 Aunthentication plugin caching_sha2_password connot be loaded问题解决办法(Mysql连接Navicat)

MYSQL:2059 Aunthentication plugin caching_sha2_password connot be loaded问题解决办法(Mysql连接Navicat)

相关文章:

  • 2021-10-21
  • 2021-09-27
  • 2021-05-10
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
猜你喜欢
  • 2021-11-25
  • 2021-04-07
  • 2021-11-03
  • 2022-12-23
  • 2021-09-28
  • 2021-09-07
  • 2022-12-23
相关资源
相似解决方案