连接mysql8.0版本出现1251--Client does not support authentication protocol requested by server的解决
Posted xiaofei01gm
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了连接mysql8.0版本出现1251--Client does not support authentication protocol requested by server的解决相关的知识,希望对你有一定的参考价值。
ALTER USER ‘root‘@‘localhost‘ IDENTIFIED BY ‘password‘ PASSWORD EXPIRE NEVER; #修改加密规则
ALTER USER ‘root‘@‘localhost‘ IDENTIFIED WITH mysql_native_password BY ‘password‘; #更新一下用户的密码
FLUSH PRIVILEGES; #刷新权限
以上是关于连接mysql8.0版本出现1251--Client does not support authentication protocol requested by server的解决的主要内容,如果未能解决你的问题,请参考以下文章
连接mysql8.0版本出现1251--Client does not support authentication protocol requested by server的解决