If you want to access your cPanel shared hosting account’s MySQL databases remotely, you must enable remote access. To do this, you must know the IP address from where you plan to access them; you can find this at numerous sites, such as whatismyip.com.
To Enable Remote MySQL Management in cPanel
- Log in to your Account Manager.
- Click Web Hosting.
- Next to the cPanel account you want to use, click Manage.
- In the Databases section, click Remote MySQL.
- In the Host field, enter the IP address from where you want to access your databases.
- Click Add Host.