Abhishek Jain
Abhishek Jain

Reputation: 991

Unable to connect to mysql on ec2-instance from outside

Am 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 checked the security group as well .. and it has MySQLL (port 3306) added .. The root device for the instance is EBS ..

any clue where i might be going wrong ??

Abhishek

Upvotes: 5

Views: 3760

Answers (1)

Till
Till

Reputation: 22408

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

Upvotes: 4

Related Questions