Navicat 连接mysql 异常 1251 client does not support ..问题

Navicat 连接mysql 异常 1251 client does not support ..问题,第1张

Navicat 连接mysql 异常 1251 client does not support ..问题

错误提示:

mysql 是docker 安装的,需要先进入mysql 容器
命令:

docker exec -i -t mysql  /bin/bash

进去后登录mysql

mysql -u root -p

然后会提示输入password

查询连接用户:

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

修改roog@% 连接密码

 ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'abc123456';

执行完需要flush

FLUSH PRIVILEGES;


重新连接服务器:

祝小伙伴好运~

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5574861.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-14
下一篇 2022-12-14

发表评论

登录后才能评论

评论列表(0条)

保存