1.查看用户信息

select host,user,plugin,authentication_string from mysql.user

mySQL-如何查看用户信息及修改

 

 

2.修改密码

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456'

 

相关文章:

  • 2021-11-17
  • 2021-11-22
  • 2022-12-23
  • 2021-04-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2023-01-12
  • 2021-08-25
  • 2022-12-23
  • 2021-11-23
  • 2021-10-21
  • 2021-09-26
相关资源
相似解决方案