I want to connect to db on EC2 from my local machine, I am not able to do and have tried everything- I am using this command to connect to EC2:
mysql -uUSERNAME -hEC2_IP -pPASSWORD
This error is generated
ERROR 2003 (HY000): Can't connect to MySQL server on 'IP' (110)
I have modified my.cnf with
skip networking
bind-address = 0.0.0.0
Still not able to connect to the database