Note
The variable is available starting with V2.1.
Description
license specifies the license type.
Privilege requirements
Query variables
systenants 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 view 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 license type.
obclient(root@mysql001)[(none)]> SHOW VARIABLES LIKE '%license%';
The result is as follows:
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| license | |
+---------------+-------+
1 row in set