1. mysql -uroot -p

2. use mysql; 

3. update user set authentication_string='' where user='root';

4. alter user 'root'@'localhost' identified by 'newpassword';

5. flush privileges;

相关文章:

  • 2021-04-13
  • 2021-09-27
  • 2022-12-23
  • 2021-05-16
  • 2022-12-23
  • 2022-12-23
  • 2022-02-08
  • 2021-12-04
猜你喜欢
  • 2021-07-05
  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
  • 2021-06-24
  • 2022-02-10
  • 2021-07-01
相关资源
相似解决方案