I am trying to connect RDS with MYSQL workbench. But I am getting error.

1

Error is like below-'Failed To connect to MySQL at "Host name*** with user 'User name***' "'

so First of all -

  1. I logged in to EMR clusters using putty 2)Then I created RDS instance in AWS 3)Then connected the RDS instance with EC2 in AWS
  2. Then from my local machine i tried to connect with MYSQL workbench using hostname, user name and password. And clicking on 'Test Connection' But its failing.
已提問 1 年前檢視次數 676 次
1 個回答
0

Hi, Can you please provide some additional info about your network configuration?

It sounds like you are able to login to an EC2 instance from your local machine over SSH (using Putty) and from there you can connect to RDS, but when you try to connect directly to your RDS instance from your local machine you get that error message.

Is your RDS instance in a public subnet with port 3306 open to your local network?

Please have a look at this doc which covers common scenarios for connecting to a database in a VPC.

profile pictureAWS
micah
已回答 1 年前
profile picture
專家
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南