navicat for mysql 链接时报错:1251-Client does not support authentication protocol requested by serve(示例代码

Posted Louis He

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了navicat for mysql 链接时报错:1251-Client does not support authentication protocol requested by serve(示例代码相关的知识,希望对你有一定的参考价值。

navicat for mysql 链接时报错:1251-Client does not support authentication protocol requested by serve

解决方法:

mysql> ALTER USER \'root\'@\'%\' IDENTIFIED WITH mysql_native_password BY \'123456\';

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

 

以上是关于navicat for mysql 链接时报错:1251-Client does not support authentication protocol requested by serve(示例代码的主要内容,如果未能解决你的问题,请参考以下文章

MySQL连接Navicat时报错常见的几种情况

Mysql使用Navicat建立外键时报错cannot add foreign key constraint分析

用 Navicat插入 mysql 数据 插入中文时报错

navicat导入sql文件时报错:mysql server has gone away

在Navicat中连接数据库时报错2003时的解决方案

MySQL(Navicat)运行.sql文件时报错:[Err] 2006 - MySQL server has gone away 的解决方法