mucaiweiblog

1.查看mysql中指定用户名密码

select host,user,password from mysql.user;//即可查看到用户和密码

2.修改密码

update mysql.user set password=\'这里填写你要设置的密码\'  where user=\'root\';

3.查看指定用户权限

show grants for username@localhost;

分类:

技术点:

相关文章:

  • 2021-11-17
  • 2022-02-09
  • 2021-12-27
  • 2022-01-03
  • 2021-12-28
  • 2022-02-06
  • 2021-05-19
  • 2022-12-23
猜你喜欢
  • 2021-12-14
  • 2021-11-25
  • 2021-12-21
  • 2022-02-03
  • 2021-12-08
相关资源
相似解决方案