While running this simple script:
<?php
$link = mysqli_connect("localhost", "*****", "********", "***");
if (!$link) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
printf("Host information: %s\n", mysqli_get_host_info($link));
mysqli_close($link);
?>
on my networksolutions account I received this error
Connect failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I called network solutins tech support twice. They "re synchronized" the server and we reverified the "connection strings" the function parameters...but no go. I tried switching from mysql_connect() to mysqli_connect().
I don't know what it could be. I know there must by thousands of NS customers who do this but did not find an answer on their forum.
Please help. Anyone interested in working for equity in my website please let me know as well.
Thanks