Retries a database connection.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes RetryDatabase

The operation that you want to perform. Set the value to RetryDatabase.

DbPassword String Yes 123

The password that is used to log on to the database.

DbType String Yes MySQL

The type of the database.

DbUserName String Yes abcd

The username that is used to log on to the database.

GatewayId String Yes dg-yhss6sdlaff****

The ID of the gateway.

Host String Yes

The IP address of the host.

Port Integer Yes 3306

The port number.

RegionId String Yes cn-hangzhou

The ID of the region.

DbDescription String No 123

The description of the database.

DbName String No abcd

The name of the database.

ClientToken String No ETnLKlblzczshOTUbOCzxxxx

You must ensure that the token is unique among different requests. The token is case-sensitive and can contain only ASCII characters. It must be 1 to 64 characters in length.

Response parameters

Parameter Type Example Description
Code String 200

The HTTP status code.

Data String SUCCESS

The returned result.

ErrorMsg String Error

The error message.

RequestId String CDDAAA07-D806-AG67-BEE8-1E43AAE024DD

The ID of the request.

Success Boolean true

Indicates whether the call is successful.


Sample requests

http(s)://[Endpoint]/? Action=RetryDatabase
&<Common request parameters>

Sample responses

XML format


JSON format


Error codes

HttpCode Error code Error message Description
500 Error The requested service is unavailable. Please try again later. The error message returned because a service exception occurred. Try again.

For a list of error codes, visit the API Error Center.