Not able to connect to amazon RDS with MYSQL workbench

安稳与你 提交于 2021-01-29 02:19:14

问题


I am stuck here in connecting with RDS instance with MySQL workbench

I getting following error

Can't connect to MySQL server on 'visitorbook.cdokqvroltrt.us-west- 2.rds.amazonaws.com' (10060)

I have configured my security group for inbound traffic from my IP for port 3306.


回答1:


Use ssh tunnel through the EC2 instance with your pem file. No need to change the security group. If DB connection works form ec2 instance, then it will work from local machine as well.

You can setup ssh tunneling option in workbench connection setting.



来源:https://stackoverflow.com/questions/33580181/not-able-to-connect-to-amazon-rds-with-mysql-workbench

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