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
ERROR 2003 (HY000): Can't connect to MySQL server on 'IP' (110)
bind-address = 0.0.0.0
There could be one of the following reasons:
Please go through following link: How Do I Enable Remote Access To MySQL Database Server?