mysql忘记密码(跳过权限修改)

一、在vim /etc/my.cnf添加(跳过权限)html [mysqld] skip-grant-tables 二、更改密码mysql 注意:版本不一样,字段不一样(有的版本叫password字段,最新的叫 authentication_string字段),能够查看mysql.user表,而后再进行更改sql update mysql.user set authentication_stri
相关文章
相关标签/搜索