在开始服务的情况之下

进入mysql  更改密码:update mysql.user set authentication_string=password('新的密码') where  user='root' and Host = 'localhost';
mysql> flush privileges;
mysql> quit;关闭
重启

Mysql----修改MySQL5.7的root的密码

 

相关文章:

  • 2021-11-16
  • 2021-09-11
  • 2021-12-18
  • 2022-12-23
  • 2021-12-16
  • 2021-08-13
  • 2021-12-06
  • 2022-01-04
猜你喜欢
  • 2022-12-23
  • 2022-01-19
  • 2021-12-16
  • 2021-08-12
  • 2022-12-23
相关资源
相似解决方案