I have a fixed IP attached to my EC2 instance. I am able to test the connection with nc as follows.
$ nc -v **.***.***.** 3306
Ncat: Version 6.25 ( http://nmap.org/ncat )
Ncat: Connection refused.
But,
$ nc -v **.***.***.** 22
Ncat: Version 6.25 ( http://nmap.org/ncat )
Ncat: Connected to **.***.***.**.
SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1
In my security group I have two rules:
1) Inbound 22 from 0.0.0.0/0
2) Inbound 3306 from 0.0.0.0/0
What am I missing?