Most MySQL configurations come by default to allow only local connections. We must to change my.cnf file in /etc/mysql directory.

Search this line:

bind-address        = 127.0.0.1

And change for this line:

bind-address            = 0.0.0.0