killall mysqld

/usr/local/mysql/bin/mysqld_safe --skip-grant-tables &

use mysql
update user set password=password("new_pass") where user="root";
flush privileges; 

 

相关文章:

  • 2021-12-04
  • 2021-11-07
  • 2022-12-23
  • 2021-12-25
  • 2021-09-12
  • 2021-12-27
  • 2021-12-27
猜你喜欢
  • 2021-12-08
  • 2021-07-13
  • 2021-06-20
  • 2021-07-22
  • 2022-12-23
  • 2021-10-20
  • 2021-08-09
相关资源
相似解决方案