Overview
version: Displays the server version.
Privilege requirements
Query variables
Both the
systenant and all user tenants can use theSHOW VARIABLESstatement and theinformation_schema.GLOBAL_VARIABLESview to view the values of global system variables.Modify variables
The
systenant can directly modify the values of global system variables.The user tenant must have the
SUPERorALTER SYSTEMprivilege to modify the value of a global system variable.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Varchar |
| Default Value | 5.7.25-OceanBase AI Database-v4.6.2.0 |
| Value range |
|
| Effective Scope | Global |
| Modifiable | Yes, you can use the following methods:SETStatement modification. |
Configuration example
Set the version number to the default version number.
obclient> SET GLOBAL version='';