Can't connect to RDS instance from EC2 instance

后端 未结 7 1412
梦谈多话
梦谈多话 2020-12-04 09:51

From EC2 instance i-78a8df00, I\'m trying to connect to RDS instance mysql.************.us-east-1.rds.amazonaws.com. They are both in the U.S. East region. I added the secur

7条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-04 10:23

    I had the similar problem today when my EC2 instance suddenly lost access to RDS instance and Wordpress stopped working. The security groups were correct and I could even connect to MySQL from console on EC2 instance but not from PHP. For some reason restarting EC2 server helped me.

提交回复
热议问题