The method you use to remotely connect to MySQL depends on what MySQL client you are using.
For example, in PHP code, you simply specify the remote host in the connection string/function:
[code=php]<?php
// Old-school
$dbLink = mysql_connect(" mysql.example.c om", "YourName", "pwd");
Comment