昊漫玉 发表于 2018-10-5 09:26:26

MySQL5.7破解root密码

  首先将MySQL服务stop
  systemctl stop mysqld
  然后使用跳过密码启动MySQL:
  mysqld --user=mysql --skip-grant-tables
  修改mysql库下面的user这张表
  update user set authentication——string=password('123') where user='root';

页: [1]
查看完整版本: MySQL5.7破解root密码