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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南