I have installed MySQL Community Edition 5.5 on my local machine and I want to allow remote connections so that I can connect from external source.
How can I do that
If you installed MySQL from brew it really does only listen on the local interface by default. To fix that you need to edit /usr/local/etc/my.cnf and change the bind-address from 127.0.0.1 to *.
brew
/usr/local/etc/my.cnf
bind-address
127.0.0.1
*
Then run brew services restart mysql.
brew services restart mysql