1、使用show命令 show grants for root@localhost show grants for root@localhost 2、直接操作mysql表 select * from users where