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 version 5.7.6 version of the beginning of the user can use the following command:

mysql> ALTER USER USER() IDENTIFIED BY 'Xiaoming250';


For individual users trouble late, it will disable the password expiration function, the command is as follows:

ALTER USER 'root'@'localhost' PASSWORD EXPIRE NEVER;

Guess you like

Origin www.cnblogs.com/Andrew520/p/11966245.html