I kept getting "Lost connection to MySQL server" errors on my database update script so I was refreshing my php script, I didn't realize you can only do it after certain intervals before it suspended my account. I think I did it too frequently like 3-5 sec per refresh :confused:
I'd like my...
thanks, seems to be working but I keep getting "Lost connection to MySQL server during query" more often than it should. What's causing this?
It doesn't look good because I'll be running a cron job and what if it fails trying to connect to MySQL? How will cron job know the operation failed and...
So I have my php script ready
<?php
$un = "bob234_dbuser";
$database = "bob234_bobsdb";
$pw = "bob123";
$host = "????";
mysql_connect($host,$un,$pw);
?>I'm not sure if I've done the above correct and what do I put for host?
btw above is fake login details to represent what mine similarly looks...