issues
search
hrh47
/
blog
0
stars
0
forks
source link
如何顯示使用者在 mysql 裡對 database 具有哪些權限?
#1
Open
hrh47
opened
5 years ago
hrh47
commented
5 years ago
當前登入的使用者:
SHOW GRANTS;
SHOW GRANTS FOR CURRENT_USER;
SHOW GRANTS FOR CURRENT_USER();
非當前登入的使用者:
SHOW GRANTS FOR '
'@'localhost';
hrh47
commented
5 years ago
https://dev.mysql.com/doc/refman/8.0/en/show-grants.html