ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; #修改加密规则 
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; #更新一下用户的密码 

FLUSH PRIVILEGES; #刷新权限 

相关文章:

  • 2021-08-04
  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
  • 2021-06-22
  • 2021-06-23
  • 2022-01-20
  • 2021-08-26
猜你喜欢
  • 2021-11-15
  • 2022-01-19
  • 2021-06-12
  • 2021-07-19
相关资源
相似解决方案