The SHOW AUTHORITY RULE syntax is used to query authority rule configuration.
ShowAuthorityRule ::=
'SHOW' 'AUTHORITY' 'RULE'
| Column | Description |
|---|---|
| users | users |
| provider | privilege provider type |
| props | privilege properties |
SHOW AUTHORITY RULE;
mysql> SHOW AUTHORITY RULE;
+--------------------+---------------+-------+
| users | provider | props |
+--------------------+---------------+-------+
| root@%; sharding@% | ALL_PERMITTED | |
+--------------------+---------------+-------+
1 row in set (0.07 sec)
SHOW, AUTHORITY, RULE
