You can use the connection diagnostics feature to check whether an ECS instance or an IP address can access the database.
Procedure
- Log on to the PolarDB console.
-
In the upper-left corner, select the region where the cluster is deployed.
-
Find the target cluster and click its ID.
-
In the Basic Information section of the Basic Information page, click Connection Diagnostics.
-
Configure the following parameters.
Parameter
Description
Input type
Select the type of client to check. Valid values:
-
ECS Instance: Select this option if you use an ECS instance as the client.
-
IP Address: Select this option if you know the IP address of the client.
ID of the ECS instance that has connection issues (cross-region not supported)
Select the ID of the ECS instance to check.
NoteThis parameter is required when Input type is set to ECS Instance.
IP address of the endpoint that accesses the database
The IP address of the client.
-
-
Click Diagnose.
Related API operations
|
API operation |
Description |
|
Manually starts a cluster. |
|
|
Checks whether a source IP address can access the database. |