我是靠谱客的博主 细腻薯片,最近开发中收集的这篇文章主要介绍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 登录mysql服务器_无法连接到AWS RDS上的mysql服务器所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部