Before you can connect to your databases remotely, the IP working via remote connection has to be allowed on your account's side. To allow a remote connection, access your account's hPanel, and navigate to the Remote MySQL menu in the Databases section.
In the newly opened window, you will see the IP (IPv4 or IPv6) field, where you can fill in the IP address from which the remote connection will be initiated. If you want to connect from any IP, click on the checkbox Any Host:
Make sure to select the Database which will be remotely accessed and click Create :)
- Remote connections also require you to use our MySQL server hostname, which is specified on the top of the Remote MySQL menu window: