I just heard about amazon rds and MySQL Workbench today from my partner for my group project, so I'm not very familiar with them. My partner has created a host account on amazon rds for our database, and I am suppose to help create table and make sql queries. However, I'm having no luck connecting to the database through MySQL workbench. The error message I received is "Unknown MySQL server host '*host_address*'. I have tried adding port 3306 to my firewall as suggested by a blogger, but that still doesn't work. There are some answers that say in order to connect to amazon rds, the user would need to add his/her IP address to the "DB Security Group" in amazon rds. So, does that mean my partner would need to add MY IP address to "DB Security Group" in the amazon rds account that my partner had created for the database? I been working on getting the connection for the last 6 hours, so I'm very greatful if someone could answer my question or point me in the right direction. Thank you for all your help.
Sql – Connecting to Amazon RDS using MySQL Workbench
amazon-rdsconnectionmysql-workbenchsql
Related Topic
- Mysql – How to import an SQL file using the command line in MySQL
- Mysql – Connecting to Amazon RDS instance through EC2 instance using MySQL Workbench
- Export Data from thesql Workbench 6.0
- Mysql – Simple Connection to Amazon RDS MySQL Database using MySQL Workbench
- Mysql – How to connect MySQL Workbench to Amazon RDS
Best Answer
The RDS Security Group for your RDS instance needs to be configured to allow access from your IP address. Once it is done, then you can verify that you have GOOD connectivity by running
telnet <you_RDS_Instance_Name> 3306
. Once you are able to connect fine, then I should be able to connect using MySQLWorkbecnh.I have personally never used MySQL Workbench but I connect using
MySQL cli
to my RDS instance.Here is the sample
telnet
command:Read More about RDS Security Groups here.