datadir specifies the local disk directory for data storage.
Note
This variable is only for compatibility purposes. OceanBase Database does not support this feature.
| Attribute | Description |
|---|---|
| Type | Varchar |
| Default value | /usr/local/mysql/data/ |
| Value range | N/A |
| Effective scope | Global |
| Modifiable | No |