1. 进入了mysql后输入:mysql -u root
  2. 输入:use mysql
  3. 输入:update user set password=old_password('scf') where user='root' and host='localhost' ;
  4. 输入:FLUSH PRIVILEGES;

相关文章:

  • 2022-02-18
  • 2021-09-05
  • 2021-12-25
  • 2021-07-17
  • 2022-02-24
  • 2021-08-28
猜你喜欢
  • 2022-01-14
  • 2021-07-16
  • 2021-10-31
  • 2021-12-14
  • 2021-12-20
  • 2021-07-22
  • 2021-08-01
相关资源
相似解决方案