一、背景
Navicat连接数据库,报错”1251-Client does not support authentication protocol requested by server““
原因:root密码太简单
二、cmd命令修改密码
use mysql;
alter user 'root'@'localhost' identified with mysql native password by '12345678';
flush privileges;
三结果:
修改密码后再次连接成功。