Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29413

Can't connect to RDS read replicas' domain name hosted via Route53

$
0
0

I have an RDS with multiple read replicas. In order to load balance the available read replicas, I used Route53's weighted hosted zone. I use this link for doing that: AWS Read Replica

After completing the steps provided in this link, I could connect to the RDS locally (after whitelisting my local IP). But when I try to connect to it from an EC2 server, it is giving the error:

ERROR 2005 (HY000): Unknown MySQL server host 'test.influsoft-dev-rds.menerva.io' (0)

I have tried whitelist both the EC2 machine's public and private IPs. Not sure, what is causing the issue.

But, when I tried opening the MySQL port to the public (0.0.0.0/0,::/0), I can connect to it. What is the issue? How can I resolve it.


Viewing all articles
Browse latest Browse all 29413

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>