Note
This variable is available starting with V2.1.
Description
license specifies the license type.
Privilege requirements
The sys tenant and all user tenants can execute the SHOW VARIABLES statement or query the SYS.TENANT_VIRTUAL_GLOBAL_VARIABLE view (Oracle-compatible mode) or the information_schema.GLOBAL_VARIABLES view (MySQL-compatible mode) to view the value of a Global system variable.
Attributes
| Attribute | Description |
|---|---|
| Type | Varchar |
| Default value | "" indicates an empty string. |
| Scope | Global |
| Modifiable | No. It 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