Giorgi Chitashvili
09/05/2025, 6:46 AMGiorgi Chitashvili
09/05/2025, 6:48 AMYongbing Wang
09/05/2025, 7:04 AMSHOW GRANTS; -- View the privileges of the current user.
SHOW GRANTS FOR ROLE <role_name>; -- View the privileges of a specific role.
SHOW GRANTS FOR <user_identity>; -- View the privileges of a specific user.Yongbing Wang
09/05/2025, 7:04 AMGiorgi Chitashvili
09/05/2025, 7:05 AMYongbing Wang
09/05/2025, 7:34 AMmysql> use sys;
Database changed
mysql> show tables;
+---------------------+
| Tables_in_sys |
+---------------------+
| fe_locks |
| fe_memory_usage |
| grants_to_roles |
| grants_to_users |
| object_dependencies |
| policy_references |
| role_edges |
| users |
+---------------------+
8 rows in set (0.00 sec)