RDS MySQL Issues?

, , ,

Hi, I know this has to be very simple and there are a lot of tutorials how to do it BUT; I cannot connect to my MySQL DB in RDS. I have a VPC for my EKS cluster which my MySQL DB is a part of. I created a separate securitygroup allowing inbound MySQL port and Postgres port for my ip address and all inbound traffic coming from EKS.

The Postgres DB is reachable but the MySQL server is not. I tried testing with EC2 instance in same region and on my own host and nothing is working.

I am wondering if there is an AWS issue with the deployment of MySQL or am I doing something wrong.

And YES, Public access is ENABLED, the inbound ip address for port 3306 is correct. NO there is no VPN service running on my host…

Check VPC flow logs? If there are rejects it is SG. If your local can connect but EKS can’t then might be NACL. Use reachability analyzer. Most likely it is a user issue.

There is no logs under VPC flow logs. I cannot connect local neither via EKS. I created MariaDB, it worked instantly.

As for the reachability analyzer, i will test it later. MariaDB works so I will continue with MariaDB instead of MySQL.

What exactly is the error? Are you getting timeouts or other more specific errors? Is the postgres instance there reachable in the same subnet group?