Note
This variable is available starting with V2.1.
Description
license specifies the type of license.
Privilege requirements
Query variables
The
systenant and all user tenants can execute theSHOW VARIABLESstatement or query theSYS.TENANT_VIRTUAL_GLOBAL_VARIABLEview (Oracle mode) or theinformation_schema.GLOBAL_VARIABLESview (MySQL mode) to obtain the values of Global system variables.Modify variables
You cannot modify this variable.
Attributes
| Attribute | Description |
|---|---|
| Type | Varchar |
| Default value | "" indicates an empty string. |
| Scope | Global |
| Modifiable | No. This variable is read-only. |
Examples
Query the type of license.
obclient(root@mysql001)[(none)]> SHOW VARIABLES LIKE '%license%';
The result is as follows:
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| license | |
+---------------+-------+
1 row in set