hellow, i have a little problem to can make a remote conection with MySQL 5.0, i have and web hosting here and need connect it to a MySQL DB on my PC, i have a public ip and test the site offline before up online it, with this code:

CODE
<?php
#-------------------------------------
# SQL Database Configuration
#-------------------------------------
$sql['host'] = "localhost"; //Sql server address
$sql['user'] = "root"; //Sql login username
$sql['password'] = ""; //Sql login password
$sql['database'] = "db"; //Sql database name
?>


its work fine of line with the data base at localhost, i not sure cause i new on PHP and i make this change when i turn up it.

CODE
<?php
#-------------------------------------
# SQL Database Configuration
#-------------------------------------
$sql['host'] = "xxx.xxx.xxx.xxx:3306"; //Sql server address
$sql['user'] = "remoteuser"; //Sql login username
$sql['password'] = "remotepassword"; //Sql login password
$sql['database'] = "db"; //Sql database name
?>


someone can help me? plz