重装系统后,今天mysql提示1045错误无法连接上,找了很久得出方法如下: 修改root密码即可正常. 1,进入mysql控制台选择: 2,use mysql; 3,update user set password=password('新密') where user='root'; 4,flush privileges; 5,完成…
问题: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…