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;