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 Answer
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
EXPERT
answered a month ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions