标签:root 数据 auth col class win2012 not with set
1.官网下载安装
官网上面写着x86,其实是兼容x64和x86的,下载安装就行
2.安装navicat
3.navicat连接mysql的时候出现错误
client does not support authentication protocol requested by server
consider upgrading mysql client
解决方法:
ALTER USER ‘root‘@‘localhost‘ IDENTIFIED WITH mysql_native_password BY ‘123‘; FLUSH PRIVILEGES;刷新权限
可以连了
4.连接服务器mysq的时候,会被拒绝连接
修改user表root用户的host 为%;(user在数据库mysql里面,这里应该是在安装的时候自己定义的,我也忘记了)
update user set host=‘%‘ where user=‘root‘
标签:root 数据 auth col class win2012 not with set
原文地址:https://www.cnblogs.com/wskxy/p/10748682.html