mysql8重置密码

mysql8.0.13重置密码 可以登录mysql的情况下 。记得密码 只是需要定期更改一下。 不能直接update  否则会出现下面明文密码的情况,而且该密码还不能用于登录(不管是弱密码还是强密码)。   首先需要把root账户的密码字段设置为空 use mysql; update user set authentication_string="" where user="root"; sele
相关文章
相关标签/搜索