sudo su
mysqld_safe --skip-grant-tables --skip-networking &

UPDATE mysql.user SET password=PASSWORD(’新密码’) WHERE User=’root’;
mysql> FLUSH PRIVILEGES

update mysql.user set authentication_string=password('root') where user='root' ;

相关文章:

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