Yes, you can surely access the remote MySQL database, if remote MySQL server (where your database is hosted) is configured to accept remote MySQL connections. While you want to access remote MySQL database, you will need to use the following configuration settings.
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 following website for reference connection strings.
http://www.connectionstrings.com/mysql/