我是靠谱客的博主 细腻薯片,这篇文章主要介绍aws 登录mysql服务器_无法连接到AWS RDS上的mysql服务器,现在分享给大家,希望可以做个参考。

bd96500e110b49cbb3cd949968f18be7.png

I am new to AWS RDS. I have created RDS instance.But i dont know, how can i connect this DB.

I tried like this

mysql -h awsinstanamehere.rds.amazonaws.com -P 3306 -u username -p

After i entered password and i am getting some error like this

ERROR 2003 (HY000): Can't connect to MySQL server on

'awsinstanamehere.rds.amazonaws.com' (110)

Need to set any security setting in AWS console?

Note:

I want to import tables for that DB

Thanks

解决方案

RDS has a security group - in the AWS console, RDS, there's an entry for security groups.

If you didn't explicitly create a security group, you are probably using "default". You should probably have one group per RDS instance.

You will need to make sure that port 3306 is open to your local network, as well as whatever application you will be using to connect to it. You can allow access by IP or by security group.

最后

以上就是细腻薯片最近收集整理的关于aws 登录mysql服务器_无法连接到AWS RDS上的mysql服务器的全部内容,更多相关aws内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(42)

评论列表共有 0 条评论

立即
投稿
返回
顶部