MYSQL RDS on EC2 instance

0

Why would I be able to connect to mysql rds database locally but not on my ec2 environment?

1 Respuesta
0

Assuming that EC2 and RDS are in the same VPC, check the security group associated with the RDS instance has an inbound rule allowing TCP port 3306 from the EC2's IP address, and that the security group associated with the EC2 allows TCP port 3306 outbound to the RDS instance.

If they're in different VPCs then check the VPC peering setup, and the route tables for both subnets.

profile picture
EXPERTO
Steve_M
respondido hace 5 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas