Note
This variable is available starting with V2.1.
Description
license specifies the license type.
Privilege requirements
sys tenants and all user tenants can execute the SHOW VARIABLES statement or query the SYS.TENANT_VIRTUAL_GLOBAL_VARIABLE view (Oracle mode) or the information_schema.GLOBAL_VARIABLES view (MySQL mode) to view the value of a Global system variable.
Attributes
| Attribute | Description |
|---|---|
| Type | Varchar |
| Default value | "", which indicates an empty string |
| Scope | Global |
| Modifiable | No. The value is read-only. |
Examples
Query the license type.
obclient(root@mysql001)[(none)]> SHOW VARIABLES LIKE '%license%';
The result is as follows:
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| license | |
+---------------+-------+
1 row in set
