...however, from my proper server it connects straight away. I have looked around, and cannot find any mention of this problem anywhere. The syntax I am using is the standard:Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'sql313.byethost17.com' (10060)
Code: Select all
<?php
mysql_connect("sql313.byethost17.com","username", "password") or die(mysql_error());
?>I am using the server Byethost; I don't know if it makes a difference.