Does anyone have a code to test the connection of a mysql db... that will return either Yes or No
You could try this:
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password'); if (!$link) die('Could not connect: ' . mysql_error()); else echo 'Connected successfully'; mysql_close($link);