You can access the remote MySQL database if a remote MySQL server (where your database is hosted) is configured to accept remote MySQL connections.
You need to use the following configuration settings to connect the database.
Hostname == Server IP address
Database name == MySQL database name
Database username == MySQL database username
Database password = Password for database user
MySQL Connection Port == 3306
Check out the following website for reference connection strings.
Note: We don't offer Remote MySQL on our Linux Shared Hosting Service.