All Products
Search
Document Center

Lindorm:SwitchLSQLV3MySQLService

Last Updated:Mar 03, 2024

Enables and disables the MySQL compatibility feature.

Operation description

Prerequisites

  • The LindormTable version of your instance is 2.6.0 or later.
  • The LindormTable of your instance supports LindormSQL V3. The value of the EnableLsqlVersionV3 parameter in the response of the GetLindormInstance operation is true for Lindorm instances purchased after Oct 24, 2023, which indicates that LindormSQL is supported by these instances by default. If you want to enable LindormSQL for instances purchased before Oct 24, 2023, contact the on-duty technical support.

You can enable the MySQL compatibility feature for a Lindorm instance only when the instance meets the preceding requirements.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The cluster ID.

ld-bp1o3y0yme2i2****
ActionTypeintegerYes

The type of the operation. Valid value:

  • 1: enables the MySQL compatibility feature.
  • 0: disables the MySQL compatibility feature.
1

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

1556DCB0-043A-4444-8BD9-CF4A68E7EE64

Examples

Sample success responses

JSONformat

{
  "RequestId": "1556DCB0-043A-4444-8BD9-CF4A68E7EE64"
}

Error codes

HTTP status codeError codeError messageDescription
403MinorVersion.TooLowThe minor version is too low. Please upgrade.The minor version is an earlier one. Update the minor version.

For a list of error codes, visit the Service error codes.