Amazon RDS - Can't connect to MySQL database server?
1) Make sure that RDS instance has access to ec2 instance from where you are trying to connect

2) From ec2 instance connect to Amazon RDS instance using telnet
$telnet 

If telnet fails means connection to MySQL port is not possible.