0

I have an rds and ec2 instance in tokyo region. I just set up an rds server to test stuff from my ec2 server.

When I type

mysql -h remdev-experimental-BLEH-northeast-1.rds.amazonaws.com -P 3306 -uUSER -pPass

in ec2 the connection times out.

But i am able to get mysql access from my local computer. I am able to perform operations just fine.

My rds is publicly accessible and my ec2 server allows all traffic into it , and from it

I tried restarting my ec2 server but that didnt fix this issue

  • Have you verified Security Group settings for RDS? – EEAA Jul 6 '16 at 15:04
  • i can access it from my local computer ,and its publicly accessible – harveyslash Jul 6 '16 at 15:05
  • Doesn't matter. Security group rules may still be in play. – EEAA Jul 6 '16 at 15:05
  • you were right! it seems it automatically added just my own ip address – harveyslash Jul 6 '16 at 15:07
1

Sounds like you need to fix your RDS Security Group rules.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.