MYSQL5.7修改密码

参考:https://www.cnblogs.com/activiti/p/7810166.html
# alter user 'root'@'localhost' identified by '123456'
# 或者
update user set authentication_string = password('root'), password_expired = 'N', password_last_changed = now() where user = 'root';
原文地址:https://www.cnblogs.com/lajiao/p/9364650.html