安装了MySQL8.x.x后使用Navicat连接总是出现1251错误,故在此记录一下解决方法. 错误提示 1251-Client does not support authentication protocol requested by server; consider upgrading MySQL client 解决办法 1.直接修改 用管理员身份打开cmd,输入"mysql -u root -p [-h locahost -P 3306]"(中括号内是默认内容)回车输入root…
最近需要用MYSQL,使用navicat 连接时总出现1251错误,在网上查了一些别人的方法并试过 以下方法是正确的. 方法来自:https://blog.csdn.net/XDMFC/article/details/80263215 错误:Client does not support authentication protocol requested by server; consider upgrading MySQL client 解决方法: 1.打开cmd 2.输入 mysql -u…
问题:navicat连接mysql时报错:1251-Client does not support authentication protocol requested by server; consider upgrading MySQL client 解决方法:打开mysql输入以下命名: use mysql: ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '你的密码'; FLUSH PRIVILE…
我的博客:www.yuehan.online 因为加密方式的问题,在使用mysql8.0的时候需要修改加密规则才能连接navicat. 打开cmd,输入以下命令: ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; #修改加密规则 ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '此处输入你的密码…
刚刚安装热乎的navicat发现出现1251错误,原因不大清楚,找到一个解决办法: 将mysql的密码重新重置一遍: 1.打开命令行 ,进入mysql所在的目录,输入 mysql -uroot -p 输入密码进入mysql 2.更改加密方式: mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; 3.清空密码: ALTER USER 'root'@'localhost' IDEN…