Amazon RDS无法连接到数据库 [英] Amazon RDS Unable to connect to the database

查看:122
本文介绍了Amazon RDS无法连接到数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过Eclipse AWS Elastic Beanstalk连接到Amazon RDS,可能是因为我正在使用代理,但是我不知道在哪里定义它.

I want to connect to Amazon RDS through Eclipse AWS Elastic Beanstalk, probably is because I am using a Proxy, but I don't know where to define it.

无法连接到数据库.确保密码正确,并确保可以通过网络以及可能通过其连接的任何防火墙访问数据库.

Unable to connect to the database. Make sure your password is correct and make sure you can access your database through your network and any firewalls you may be connecting through.

推荐答案

检查您的AWS VPC配置.需要调整安全组,以允许您从新的源/端口进行连接.

Check your AWS VPC configuration. The security-group will need to be adjusted to allow you to connect from a new source/port.

  1. 找到RDS的安全组ID.
  2. 在AWS Console> VPC>安全组中找到该组
  3. 相应地调整入站和出站规则.
    • 您需要允许访问/连接需要连接到RDS的IP或安全组.
  1. Find the security Group-id for the RDS.
  2. Find that group in AWS Console > VPC > secuirty groups
  3. Adjust the Inbound and Outbound Rules accordingly.
    • You need to allow access to/from the IP or security group that needs to connect to the RDS.

这篇关于Amazon RDS无法连接到数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆