ok im running to servers 1>is running mysql 2> needsd to connect to #1 how do i do this ive tried
<?php
mysql_connect('xx.xx.xxx.xxx','root','')
//my real ip is hidden
or die("sorry but we couldn't connect");
mysql_select_db('mydb');
mysql_close();
?>
but when i do this i get an error im pretty sure ive got my privliges set right but i still cannot connect.