<small id='BGbFC'></small><noframes id='BGbFC'>

<legend id='BGbFC'><style id='BGbFC'><dir id='BGbFC'><q id='BGbFC'></q></dir></style></legend>

  • <i id='BGbFC'><tr id='BGbFC'><dt id='BGbFC'><q id='BGbFC'><span id='BGbFC'><b id='BGbFC'><form id='BGbFC'><ins id='BGbFC'></ins><ul id='BGbFC'></ul><sub id='BGbFC'></sub></form><legend id='BGbFC'></legend><bdo id='BGbFC'><pre id='BGbFC'><center id='BGbFC'></center></pre></bdo></b><th id='BGbFC'></th></span></q></dt></tr></i><div id='BGbFC'><tfoot id='BGbFC'></tfoot><dl id='BGbFC'><fieldset id='BGbFC'></fieldset></dl></div>

        • <bdo id='BGbFC'></bdo><ul id='BGbFC'></ul>
      1. <tfoot id='BGbFC'></tfoot>

        无法从 EC2 实例连接到 RDS 实例

        时间:2023-06-24
              <tbody id='ZMO6E'></tbody>
          1. <legend id='ZMO6E'><style id='ZMO6E'><dir id='ZMO6E'><q id='ZMO6E'></q></dir></style></legend>

            <tfoot id='ZMO6E'></tfoot>

            <i id='ZMO6E'><tr id='ZMO6E'><dt id='ZMO6E'><q id='ZMO6E'><span id='ZMO6E'><b id='ZMO6E'><form id='ZMO6E'><ins id='ZMO6E'></ins><ul id='ZMO6E'></ul><sub id='ZMO6E'></sub></form><legend id='ZMO6E'></legend><bdo id='ZMO6E'><pre id='ZMO6E'><center id='ZMO6E'></center></pre></bdo></b><th id='ZMO6E'></th></span></q></dt></tr></i><div id='ZMO6E'><tfoot id='ZMO6E'></tfoot><dl id='ZMO6E'><fieldset id='ZMO6E'></fieldset></dl></div>
              <bdo id='ZMO6E'></bdo><ul id='ZMO6E'></ul>

              <small id='ZMO6E'></small><noframes id='ZMO6E'>

                  本文介绍了无法从 EC2 实例连接到 RDS 实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  从 EC2 实例 i-78a8df00,我正在尝试连接到 RDS 实例 mysql.************.us-east-1.rds.amazonaws.com.他们都在美国东部地区.我将 EC2 实例的安全组 (sg-********) 添加到 RDS 安全组,但这没有帮助.这似乎是防火墙/DNS 问题,因为它在运行此命令时超时:

                  ubuntu@ip-10-195-189-237:~$ mysql -h mysql.************.us-east-1.rds.amazonaws.com

                  <块引用>

                  错误 2003 (HY000):无法连接到mysql.************.us-east-1.rds.amazonaws.com"上的 MySQL 服务器 (110)

                  我可以使用与上面相同的线路从我的本地机器连接到 RDS 实例.我尝试了各种论坛解决方案,但都无济于事.

                  解决方案

                  看起来在上次发布和本次发布之间的某个时间,Amazon 修复了 DNS 路由问题,因为现在对于多可用区 rds 一切正常...

                  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 security group of EC2 instance (sg-********) to the RDS security group, but that didn't help. It appears to be a firewall/DNS issue as it is timing out when running this command:

                  ubuntu@ip-10-195-189-237:~$ mysql -h mysql.************.us-east-1.rds.amazonaws.com
                  

                  ERROR 2003 (HY000): Can't connect to MySQL server on 'mysql.************.us-east-1.rds.amazonaws.com' (110)

                  I can connect to RDS instance fine from my local machine using the same line as above. I tried various forum solutions but those don't help.

                  解决方案

                  Looks like sometime between the last posting and this posting, Amazon fixed the DNS routing issue, because everything works fine now for multi-AZ rds...

                  这篇关于无法从 EC2 实例连接到 RDS 实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:MySQL/Amazon RDS 错误:“您没有 SUPER 权限..."; 下一篇:使用 MySQL Workbench 通过 EC2 实例连接到 Amazon RDS 实例

                  相关文章

                  • <bdo id='EymIR'></bdo><ul id='EymIR'></ul>

                • <small id='EymIR'></small><noframes id='EymIR'>

                  1. <i id='EymIR'><tr id='EymIR'><dt id='EymIR'><q id='EymIR'><span id='EymIR'><b id='EymIR'><form id='EymIR'><ins id='EymIR'></ins><ul id='EymIR'></ul><sub id='EymIR'></sub></form><legend id='EymIR'></legend><bdo id='EymIR'><pre id='EymIR'><center id='EymIR'></center></pre></bdo></b><th id='EymIR'></th></span></q></dt></tr></i><div id='EymIR'><tfoot id='EymIR'></tfoot><dl id='EymIR'><fieldset id='EymIR'></fieldset></dl></div>
                      <tfoot id='EymIR'></tfoot>
                      <legend id='EymIR'><style id='EymIR'><dir id='EymIR'><q id='EymIR'></q></dir></style></legend>