错误 2003 (HY000):无法连接到 AWS RDS 上的 MySQL 服务器 [英] ERROR 2003 (HY000): Can't connect to MySQL server on AWS RDS

查看:114
本文介绍了错误 2003 (HY000):无法连接到 AWS RDS 上的 MySQL 服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个带有%"主机名的外部用户以允许远程访问.将本地 MySQL 连接到远程 AWS RDS 时出现以下错误:

I created an external user with '%' hostname to allow remote access. I get the following error while connecting the local MySQL to remote AWS RDS:

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

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

我尝试评论 #bind-address = localhost 但没有解决方案.对此有何指点?

I tried commenting the #bind-address = localhost but no solution. Any pointers for this?

推荐答案

今天遇到此问题的任何人都应该在 6:05 左右观看此 YouTube 视频:

Anyone encountering this issue today should check out this YouTube video at around 6:05:

AWS RDS MySQL 数据库设置 |分步教程.

简而言之,您必须创建一个新的入站安全规则以允许外部连接.

In a nutshell, you have to create a new inbound security rule to allow an external connection.

这篇关于错误 2003 (HY000):无法连接到 AWS RDS 上的 MySQL 服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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