centos7下mysql重置密码 2020-06-16 本文已影响0人 拾杉 vi /etc/my.cnf 加入 skip-grant-tables image.png image.png 更新密码后 把加入的那一行注释掉 image.png 重启服务,一切正常登录 image.png