概述
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服务器所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复