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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南