Enabling Remote MySQL allows external applications or servers to connect to your cPanel database.
Log in to cPanel for your domain.
Navigate to the Databases section and click Remote Database Access.

In the Add Access Host field, enter the IP address or hostname that you want to grant access to.
Click Save to add the host.
To remove a host or IP, click the Delete button next to the entry under Manage Access Hosts.
After making changes, you can return to the cPanel home page or log out if no further actions are needed.
For security reasons, we reserve the right to block all inbound MySQL connections to prevent attacks on the mysqld service.
If you cannot connect remotely after adding your IP, please contact support so we can add your IP to the whitelist.