MySQL forums host postings that link to various sources for connecting MySQL Workbench to online resources: http://forums.mysql.com/read.php?152,252640,252640#msg-252640 . The basic steps for Amazon RDS are on this page: https://thoughtsandideas.wordpress.com/2012/05/17/monitoring-and-managing-amazon-rds-databases-using-mysql-workbench/
Step 3) Fill in the values ​​described below, which are shown in Figure 4.
- The name of the connection. Provide a name to identify your connection. Connection method - select standard TCP / IP via SSH from the drop instead of standard (TCP / IP). Then, on the two tabs of the panel that appears, fill in the following values ​​found on the Settings tab.
- The SSH host name is to provide the Amazon EC2 instace public DNS (see Figure 3), which will be used as the intermediate server instance used to create a connection to the DB instance.
- SSH username - specify the user of the Amazon EC2 instance (see Figure 3), which will be used as the intermediate server instance used to create the connection to the DB instance.
- SSH key file - specify the secret key (xxx.pem) used to connect Amazon EC2 via SSH
- MySQL Hostname — Specify the endpoint of the DB instance created in Amazon RDS (see Figure 5).
Username - enter the main username of the database instance created in Amazon RDS (see Figure 5).
Password — Click the Save in Keychain button and enter the password provided when creating the DB instance in Amazon RDS.
source share