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建立外键时报错cannot add foreign key constraint分析
navicat导入sql文件时报错:mysql server has gone away
MySQL(Navicat)运行.sql文件时报错:[Err] 2006 - MySQL server has gone away 的解决方法