Failed to connect to mysql on ec2 instance from outside

Unable to connect to mysql database on ec2 from my current server. using telnet, I tried to check if the port is open .. but I get the following error. "telnet: unable to connect to remote host: connection refused" ..

I also checked the security group .. and he added MySQLL (port 3306). The root device for the instance is EBS ..

any clue where can I go wrong?

Abhishek

+4
source share
1 answer

Check /etc/my.cnf or where your MySQL configuration is stored. It probably contains something like bind_address=127.0.0.1 and / or skip-networking .

+3
source

All Articles