Unable to access Amazon RDS using Eclipse

旧城冷巷雨未停 提交于 2019-12-23 02:05:20

问题


I just installed MySQL in Amazon RDS, using its wizards. I selected the same security group my EC2 instance is using.

I tried to access this by Eclipse AWS toolkit. What I did is right clicking on the RDS instance and clicked on "Conenct". Then it asked for the password and tried to connect, but ended up with the below error.

Unable to connect to RDS database
java.lang.reflect.InvocationTargetException

I have seen number of posts regarding this without having a single solution.


回答1:


I hope your machine IP is part of aws security rule. Please also check the respective ports are not blocked by your firewall..




回答2:


You probably gave access to your ec2 security group, but not your local ip address. RDS does not use ec2 security groups, but I can open access to an ec2 security group.



来源:https://stackoverflow.com/questions/21307937/unable-to-access-amazon-rds-using-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!