On 3/1/07, Brian Dunning <[EMAIL PROTECTED]> wrote:

Is there such a thing as a PHP script that I can put on a cron job to
run every minute and make a test query, and upon failure, restart the
service and maybe send an email to Rackspace support? I don't know
how you'd check that the query was refused due to too many

can't php report back what the error message is when it makes a
conenction?  test for the error, and go from there

connections, and I also don't know how PHP would restart the MySQL
service.

you can give php permission to run a shell script that kicks off a
service restart


Thanks...  :)

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to