Note
This parameter is introduced in ODP V4.2.1.
Description
init_sql specifies the initialization SQL that ODP sends to the OceanBase cluster after a connection is established.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | String |
| Default value | Not applicable |
| Value range | Not applicable |
| Effective only after ODP restart | No |
Examples
Run the following command so that after ODP connects to the cluster, _show_ddl_in_compat_mode is initialized to 1:
obclient> ALTER proxyconfig SET init_sql='set _show_ddl_in_compat_mode = 1;';
