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

posta 10 mesi fa252 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 10 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande