简体   繁体   中英

Unable to connect to RDS using MySQL Workbench

I have read countless guides and threads on how to connect to RDS database with MySQL Workbench and I do exactly as specified (I believe), but I still haven't managed to get a connection.

There must be something I am overlooking and simply don't understand. Let me know if I need to give more information. Any help is much appreciated. Thank you!

I have made sure that public accessibility is set to yes. Here is a summary of my database in RDS:

RDS中的服务器总结

And the configurations of my database: 我的数据库配置

I try to connect to the database with Standard (TCP/IP): 在此处输入图片说明

And get the following error every time: 在此处输入图片说明

For some reason nothing happens when I click "Test Connection", but at one point I got the error 10060. Don't know if this helps though. I tried googling it but none of the solutions worked for me.

I have been stuck at this for some time now and simply don't understand what I am doing wrong.

Thank you very much,

cheers

You might have not open the port (3307) for your ip address in the used security groups. Check the used security groups for inbound rule, allowing traffic to port 3307 from your ip address.

Simply click on the security group to get to the configuration page.

Here a hint: Screenshot of how to add a rule to a security group

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