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