Navicat Premium连接MySQL 8后出现2059 - authentication plugin 'caching_sha2_password'的问题解决办法

Navicat连接MySQL 8出现2059 - authentication plugin 'caching_sha2_password’的解决办法

只需要先通过命令行登录mysql进行相应的修改之后即可解决该问题。

打开命令行,登陆上mysql

以此输入下方两行指令:
(1)
USE mysql;
(表示选择mysql 数据库)

(2)
ALTER USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘password’;

上方password就是你自己root账户的密码。比如我的root账户密码就是’root’,如下图所示:
Navicat Premium连接MySQL 8后出现2059 - authentication plugin 'caching_sha2_password'的问题解决办法
之后登录Navicat Premium发现问题已解决。