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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠