I'm trying to connect to MySql on Amazon RDS from my computer, using MySql WorkBench
, or HeidiSql
or even the console Mysql.exe
and i'm getting this error all the time:
ERROR 2003 (HY000): Can't connect to MySQL server on 'MY-SERVER-NAME' (10060)
Still, nothing is working. I'm pretty sure that my security groups is configured to allow outside connections, as can be seen on the next screenshot, there is another place with firewall rules?
After the connection is configured, you can connect to your private RDS DB instance using an SSH tunnel.
I was having the same problem when using an RDS instance on a VPC that I wanted to connect to remotely. To fix the problem, I needed to do the following:
I didn't have this route in my table because I created my VPC manually and without using the wizard, but if you use the wizard it creates this route for you automatically.
Note: This assumes that your security groups are already configured to allow your IP to connect.
The 2003 error is the Access-Denied Error I would be willing to bet that you haven't configured the RDS to accept your IP address.
This can be done by going to DB Security Groups -> Click Default -> and add a new CIDR/IP range. I believe that if you set it to 0.0.0.0/0 it will accept all ip addresses
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With