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

asked 9 months ago232 views
1 Answer
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
EXPERT
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions