SHOW GRANTS

    ShowGrantsStmt:

    Username:

    UsingRoles:

    UsingRoles

    RolenameList:

    Rolename:

    1. +-------------------------------------------+
    2. | GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' |
    3. +-------------------------------------------+
    4. 1 row in set (0.00 sec)
      1. Query OK, 1 row affected (0.04 sec)
      1. Query OK, 0 rows affected (0.04 sec)

      SHOW GRANTS 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 。