ERROR 2003 (HY000): Can't connect to MySQL server on AWS RDS

Viewed 19620

I created an external user with '%' hostname to allow remote access. I get the following error while connecting the local MySQL to remote AWS RDS:

ERROR 2003 (HY000): Can't connect to MySQL server on 'instance.cvxqy8tbi2bk.us-east-1.rds.amazonaws.com' (110).

I tried commenting the #bind-address = localhost but no solution. Any pointers for this?

6 Answers

I had the same problem. this solution: When you create database

in the Virtual private cloud (VPC), please choose "Create new VPC"

in the VPC security group, please choose "create new", don't choose "choose existing"

enter image description here

I faced the same issue, turns out that I had made the database private to the VPC, meaning only instances in the vpc would be allowed to access the databse, so either make the DB public or try to access the database using an instance in your VPC.

change settings to Publicly accessible. by clicking Modify option

Related