Login to your cPanel.
In the Databases section, click Remote MySQL.
In the Host field, enter the IP address from where you want to access your databases.
Click the Add Host button.
You will then see a message stating the host IP address was added to the access list.