mysql 5.7 版本 You must reset your password using ALTER USER statement before executing this statement
Posted Andrew_F
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql 5.7 版本 You must reset your password using ALTER USER statement before executing this statement相关的知识,希望对你有一定的参考价值。
https://blog.csdn.net/muziljx/article/details/81541896
mysql版本5.7.6版本开始的用户可以使用如下命令:
mysql> ALTER USER USER() IDENTIFIED BY ‘Xiaoming250‘;
个别使用者为了后期麻烦,会将密码过期功能禁用,命令如下:
ALTER USER ‘root‘@‘localhost‘ PASSWORD EXPIRE NEVER;
以上是关于mysql 5.7 版本 You must reset your password using ALTER USER statement before executing this statement的主要内容,如果未能解决你的问题,请参考以下文章