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
질문됨 10달 전220회 조회
2개 답변
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
전문가
답변함 10달 전
profile pictureAWS
전문가
검토됨 10달 전
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
답변함 10달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠