Note
This variable is for compatibility only. OceanBase AI Database does not currently implement the functionality of this variable.
Overview
datadir is used to view the local disk path where data is stored.
Privilege requirements
The sys tenant and all user tenants can use the SHOW VARIABLES statement and the information_schema.GLOBAL_VARIABLES view to view the values of global system variables.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | varchar |
| Default Value | /usr/local/mysql/data/ |
| Value range | N/A |
| Effective Scope | Global |
| Modifiable? | No |