Mysql 解决1251 client does not support ...问题
Mysql 解决1251 client does not support ...问题
一、客户端连接mysql,问题:1251 client does not support ...
二、解决
1.查看用户信息
select host,user,plugin,authentication_string from mysql.user;
备注:host为 % 表示不限制ip localhost表示本机使用 plugin非mysql_native_password 则需要修改密码
2.修改用户密码
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'root';
更新user为root,host为% 的密码为root
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';
更新user为root,host为localhost 的密码为123456
三、成功
参考文献:https://blog.csdn.net/u012604745/article/details/80632860