Re: automatic check if MySQL is running

From: Date: Tue, 09 Apr 2002 13:20:55 +0000
Subject: Re: automatic check if MySQL is running
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-92228@lists.php.net to get a copy of this message
If you're on a unix box, you could: ps -aux | grep mysql do that from an exec() or system() function. Tyler ----- Original Message ----- From: "Manu Verhaegen" <m.verhaegen@compuver.be> To: <php-general@lists.php.net> Sent: Tuesday, April 09, 2002 8:08 AM Subject: [PHP] automatic check if MySQL is running How can i check of MySQL is running, i want to do this with cronn. If MySQL is not running then i want to start it automatic. Greeting, Manu

« previous php.general (#92228) next »