I'm trying to connect to RDS MySQL from linux machine. When I test the connection with telnet, the telnet session succeeds but when I'm trying to connect to the db with the next command
mysql -h hostname -uusername -ppassword
I can't get access and the command gets stuck. In the RDS configuration the public accessibility is set to yes, and I added an inbound rule in the security group allowing access from all addresses.
I'm assuming that when this problem will be solved, I will be able to connect via jdbc that also doesn't work right now.
Thanks to the helpers!