Yesterday I created my mysql sub-domain 'mysql.auctionpilots.com' and I was able to connect via ssh terminal and create tables. However, connecting via php, it sometimes comes back with the following warning:
Warning: mysql_connect(): Can't connect to MySQL server on 'mysql.auctionpilots.com' (111) in /home/.odell/steveinsf/auctionpilots.com/test.php on line 3
The script I'm using is :
$conn = mysql_connect("mysql.auctionpilots.com", "username", "password");
$string = "select * from testtable";
$result = mysql_query($string, $conn);
echo "result is ".$result."--";
The warning message occurs about once every 3 hits. Any ideas ??!?!?!