Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
CODE SNIPPET //Verify that the DB and user info is good $dbLink = mysql_connect($custDBHost, $custDBUser, $custDBPswd); print "dbLink = $dbLink<br><br>"; $ok = mysql_select_db($custDBName, $dbLink); print "ok = $ok<br><br>"; //Now try the dump $command = "mysqldump --opt --h=$custDBHost --u=$custDBUser --p=$custDBPswd $custDBName > $backupFile"; system($command, $retVar); // or die('could not write file'); print "retVar=$retVar"; OUTPUTOUTPUT dbLink = Resource id #5 ok = 1 retVar=3
Join the community of 500,000 technology professionals and ask your questions.