Unable to connect to MySql DB AWS RDS - MAC

0

Hi I want to interact to a DB through command line, using macos terminal, but it's impossible (for me) to establish connection. I've created a EC2 Connection. I can't install the certificate. I'm not an expert and It seems impossible...

Anyone with similar issues that can help?

BS

已提问 10 个月前252 查看次数
1 回答
0

Hello.
Are you trying to connect to RDS directly from your local machine (Mac OS)?
In that case, you need to make sure that the required IP address and port are allowed in the security group configured for RDS.
In addition, RDS Public access must be enabled when connecting directly from the local machine.
https://repost.aws/knowledge-center/rds-connectivity-instance-subnet-vpc

When connecting from EC2 to RDS, it is necessary to confirm that the EC2 IP address or security group is allowed at the source in the RDS security group.

profile picture
专家
已回答 10 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则