I am accessing the Amazon RDS (MySQL) from Putty. MySQL Workbench works through SSH commandline only, but I would like to access the cloud MySQL host database directly from MySQL Workbench.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
In the MySQL forums is a posting that links to various sources for connecting MySQL Workbench to online resources: http://forums.mysql.com/read.php?152,252640,252640#msg-252640. The essential 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 as described below which illustrated in Figure 4.
回答2:
- In the MySQL Workbench Click on Setup new Connection,
- Give the Connection name and Select the Connection method as Standard TCP/IP,
- Enter the host name from RDS end point and port as 3306,
- Enter Mysql user name and password as given in RDS instance creation,
- Then test the connection and click ok.