I know I can see if php has the ability to talk with the Mysql server, but is there a way to determine if the Mysql server is running. In some cases, I wouldn't have passwords, so a mysql_connect wouldn't work.
I'm sure, at any given time, there is a mysql server running somewhere in the world.
If you mean if it is running on your server, run
ps ax |grep mysqld | grep -v grep
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php