1. The default form MySQL Server is to be binding to localhost (127.0.0.1), which means it only accepts connections from local applications.
2. To change it, open up your terminal. Find port 3306.
3. Change to root user and edit the below file.
4. Place a hash (#) at the beginning of the line.
5. Restart your MySQL Server.
6. Test remote connection.