How to connect mySQL remotely?
You can connect remotely to the MySQL database using ISPmanager or Cpanel.
First, you need to open external access to MySQL
In the control panel, you need to find the MySQL section, add the IP or hostname from which you will connect directly.
Enter your IP xxx.xxx.xxx.xxx or IP range xxx.xxx.xxx.%
Use the details of the database you've created and port 3306 to connect to the database.