root登录错误

Cluster version: v4.0.8
ERROR 1045 (28000): Access denied for user ‘root’@‘10.105.1.146’ (using password: YES)
密码,我改过了,就是登录不了。跳过认证是可以登录的
alter user root@‘%’ identified by ‘password’;
flush privileges

mysql 登陆命令和 tidb root 用户 host 是什么

tidb 10.105.1.143 客户端10.105.1.164
mysql -和10.105.1.143 -P 4000 -u root -p

本地先将密码修改成简单密码,这边没有复现你的问题

我也有这个问题,通过第三方的连接工具是可以登陆的

mysql -h xx.xx.xx.xx -u root -P 4000 --default-auth=mysql_native_password --default-character-set=utf8

通过加–default-auth=mysql_native_password 就可以使用mysql-client 登陆了,是因为mysql8.0与 5.7字段变化的原因导致

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。