Call the CheckClickhouseToRDS operation to verify the connectivity between a community-compatible ApsaraDB for ClickHouse cluster and an ApsaraDB RDS for MySQL instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
clickhouse:CheckClickhouseToRDS |
get |
*DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DbClusterId |
string |
Yes |
The ID of the community-compatible ApsaraDB for ClickHouse cluster. |
cc-2zeyy362b5sbm**** |
| ClickhousePort |
integer |
No |
The port number of the ApsaraDB for ClickHouse cluster. |
8123 |
| CkUserName |
string |
Yes |
The database account for the ApsaraDB for ClickHouse cluster. |
user1 |
| CkPassword |
string |
Yes |
The password for the ApsaraDB for ClickHouse database account. |
123456Aa |
| RdsId |
string |
Yes |
The ID of the ApsaraDB RDS instance. |
rm-bp13v4bnwlu8j**** |
| RdsPort |
integer |
No |
The port number of the ApsaraDB RDS instance. |
3306 |
| RdsVpcId |
string |
Yes |
The VPC ID of the ApsaraDB RDS instance. |
vpc-wz9mm0qka0winfl47**** |
| RdsUserName |
string |
Yes |
The database account for the ApsaraDB RDS instance. |
user2 |
| RdsPassword |
string |
Yes |
The password for the ApsaraDB RDS database account. |
123456Rr |
| RdsVpcUrl |
string |
Yes |
The internal endpoint of the ApsaraDB RDS instance. |
rm-bp16t9h3999xb0a7****.mysql.rds.aliyuncs.com |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
A82758F8-E793-5610-BE11-0E46664305C2 |
| Status |
boolean |
Indicates whether a connection can be established. Valid values:
|
false |
| ErrorCode |
string |
|
NotSameVpc |
Examples
Success response
JSON format
{
"RequestId": "A82758F8-E793-5610-BE11-0E46664305C2",
"Status": false,
"ErrorCode": "NotSameVpc"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The DBClusterId provided does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.