RTM
RTM

Reputation: 103

Unable to connect to RDS MySQL database from MySQL Workbench

I have created a RDS MYSQL database and have set public access , modified VPC security groups enter link description here

but I am still not able to connect to the MYSql. Telnet also fails Could not open connection to the host, on port 3306: Connect failed

Connection from mysql workbench gives the following error Can't connect to MySQL server at .... (10061)

I've checked various posts in stack exchange on this error . But still unable to figure out what is missing.

Kindly let me know what is missing.

Upvotes: 1

Views: 3281

Answers (2)

Tochy Egeonu
Tochy Egeonu

Reputation: 13

I had the same problem and added a custom inbound rule in my security group with the port number from my database and the source set to my IP. this fixed it for me and telnet started working.

Upvotes: 0

John Rotenstein
John Rotenstein

Reputation: 269111

Some things to check:

  • The RDS instance should be configured as publicly accessible
  • The RDS instance should be launched in a public subnet
  • The Security Group should permit Inbound access for your IP address for port 3306
  • Your network must not be blocking the connection (try from another network, such as work/home or tethered via your phone)

Upvotes: 2

Related Questions