# 查看用户权限 Joe 想要查看 Fred 的 MySQL 账户 `'fred'@'%'` 的权限,他应该怎么做? ## 答案 ```mysql show grants for fred; ``` ## 选项 ### A ```mysql select grants from fred; ``` ### B ```mysql show privileges for fred; ``` ### B ```mysql show privileges from fred; ```