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ヶ月前221ビュー
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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ