By default, all IPs are blocked and they must be added to an access list in order to access the server. So, before connecting to MySQL from another computer, the connecting computer must be enabled as an Access Host.
Steps for allowing the IP in the Access Host are listed below:-
1. Log into cPanel.
2. Under Databases, click the Remote MySQL icon.
3. In the Host field, type in the connecting IP address.
4. Click on Add Host