简体   繁体   中英

Connecting MySQL workbench to Amazon RDS instance

enter image description here While connecting MySQL workbench to Amazon RDS instance, am getting this error.

/** Connecting to MySQL server ... Can't connect to MySQL server on 'aa58nt64hgc91d.cuh2vqc4pep5.us-east-1.rds.amazonaws.com' (110) **/

Please help me to resolve this.

Thanks in advance

You may start checking from basics,

  1. If you are accessing the URI from public, please check the Subnet properties to confirm that they have Internet Gateway attached.
  2. Check whether security group allows access to port 3306.

Did you set it as publicly available while creating the RDS. 在此处输入图片说明

Try telnet aa58nt64hgc91d.cuh2vqc4pep5.us-east-1.rds.amazonaws.com 3306 .

Verify that your security group permits port 3306 access.

Biggest problem is the firewall. In AWS this is the Security Group -> Inbound Rules. You need to open port 3306 (listed as MYSQL/Aurora) to whatever IP address your MySQL client is running on. Unless you absolutely must (unlikely), do NOT open it up to the whole world - limit to the IPs of the server(s) that will directly access the RDS database.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM