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
asked 2 years ago298 views
1 Answer
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
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions