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内容请搜索靠谱客的其他文章。
发表评论 取消回复