报错:
Naticat11.1.13版本连接mysql8.0遇到报错:
1251-Client does not support authentication protocol requested by server
原因:
使用MySQL客户端Navicat连接数据库MySQL8.0,MySQL8.0 之前的版本中加密规则是mysql_native_password,而MySQL8.0,加密规则是caching_sha2_password
解决办法:
进入mysql执行:
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123457';
原文连接:https://blog.csdn.net/you23hai45/article/details/102857551