wordpress connection error in rds from ec2

0

They are two EC2 virtual machines, which use wordpress, both connect to an RDS Database, which one of the virtual machines began to mark a connection error. Both have the same security group, the connection ports were verified. The machine that has the error can connect to other databases. The error only occurs when connecting to RDS.

  • Hi. Please share the connection error message.

Whm
已提问 2 年前303 查看次数
1 回答
0

What is the exact error code that you are getting? There are different possible scenarios, have you checked:

  • Are both EC2 on same subnet? If no, check routing.
  • If software version differs? (php, mysql client)
  • Have you compared wordpress configuration files?
  • Is the connection user the same for both ec2 and mysql user permission is allowing connection from both/any ip?
profile pictureAWS
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则