Menu
hi all guys.
i have a mamp installed on my mac with leopard and a domain name ready, i’m having some issue connecting to remote server via php script, what i’m using is:
[code=php]
$host= “77.75.???.??”; (masked by??? and no port specified at the end)
$user= “user”; (correct and doublechecked)
$pass= “pass”; (correct and doublechecked)
$conn= mysql_connect($host,$user,$pass);
//a die() follows in case of no connection
but it gives me always error: Can’t connect to MySQL server on ‘77.75.???.?? (4)
any advice?