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
gefragt vor 2 Jahren303 Aufrufe
1 Antwort
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
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen