Hello, For some reason php will not connect to a remote mysql server.. Using the following code: <?php $link = mysql_connect('hostname:3306', "username", "password") or die("Could not connect: " . mysql_error() . "\n"); print ("Connected successfully"); mysql_close($link); ?> Returns the following error: Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /vws/blakecrosby.com/docs/test.php on line 2 Could not connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) I can connect to the database using the mysql client from the same machine. Any suggestions? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php