AWS DMS - Replication instance cannot connect to the rds

0

Test Endpoint failed: Application-Status: 1020912, Application-Message: Cannot connect to ODBC provider ODBC general error., Application-Detailed-Message: RetCode: SQL_ERROR SqlState: HY000 NativeError: 2003 Message: [MySQL][ODBC 8.0(w) Driver]Can't connect to MySQL server on 'test-xyz-xyzz-abcde.cytdtkvlncks.us-east-2.rds.amazonaws.com' (110)

Here is the error when I try to test out a dms instance with a mysql rds instance. it is a test server, the security group allows general access for now. I can access it from local with ease and all. I am unable to figure out what else may be causing this issues.

please where else can I look to

1 個回答
0

To troubleshoot the connection issue between your DMS replication instance and the MySQL RDS instance, you can check the following:

  • Ensure the security group attached to your RDS instance allows inbound connections from the DMS replication instance on the MySQL port (default is 3306). Double-check the source IP or security group specified in the inbound rule.
  • If your DMS and RDS instances are in different VPCs, ensure there's a VPC peering connection that allows traffic between these VPCs. Also, check the route tables to ensure they have routes that direct traffic appropriately between the VPCs.
  • Check if the MySQL user has the necessary permissions and if there are any host restrictions on the user account that might prevent connections from the DMS instance.
  • In DMS, ensure the endpoint configuration for the RDS instance (especially the server name and port) matches the actual RDS instance details.
  • If there's a firewall appliance in your VPC, verify that they're not blocking the traffic between DMS and RDS instances.

If this has answered your question or was helpful, accepting the answer would be greatly appreciated. Thank you!

profile picture
專家
已回答 2 個月前
profile picture
專家
已審閱 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南