Can't connect our Lightsail Wordpress-Site per PHP with the RDS Database. (Only Timeouts or Failed Connection Attempts) Any Ideas?

0

Things we adjusted and tried so far: VPC has been activated
Security Groups have been adjusted Reset everything in case we missed something

We get the Error 2002

NMS802
preguntada hace 10 meses220 visualizaciones
2 Respuestas
2

It is a timeout error, so there may be a problem around the RDS security group or VPC configuration.
For example, have you already set up VPC peering using the method in the following document from Lightsail?
Also, is the VPC where RDS is running the default VPC?
Lightsail's VPC peering can only connect to the default VPC.
Also, what are your RDS security group settings?
Are connections allowed from Lightsail's private IP address?
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-set-up-vpc-peering-with-aws-resources

profile picture
EXPERTO
respondido hace 10 meses
profile pictureAWS
EXPERTO
revisado hace 10 meses
0

Thanks for getting back to us so fast!

I think we checked all your suggestions and got a bit further. The problem remains though: we cant connect to the MSSQL Database over PHP. We think it might be a driver issue and that the connection terminates because of it.

At least its a different error now - 500 Internal Server Error

NMS802
respondido hace 10 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