Watchdog für mysql in Perl?

2002-01-04 Thread Sascha Kettner
Hi! Short question: i want to have a perl watchdog telling me when executed if my sql-server is running and if anything is allright with it. So if i get any errormessage i can restart the server by remote. Has someone done this allready? Any hint? Thanks again and best regards Sascha Kettner

Re: Watchdog für mysql in Perl?

2002-01-04 Thread Erik Price
Well, you could use a shell script to run mysqladmin status. I.e. this bash script: #! /bin/bash # mystatus.sh is really just a simple alias for a # longer command. # Usage: 'mystatus.sh PASSWORD' # replace values of $my_hostname and $my_username if needed my_hostname='localhost'

RE: Watchdog für mysql in Perl?

2002-01-04 Thread Gary . Every
, 2002 5:53 AM To: [EMAIL PROTECTED] Subject: Watchdog für mysql in Perl? Hi! Short question: i want to have a perl watchdog telling me when executed if my sql-server is running and if anything is allright with it. So if i get any errormessage i can restart the server by remote. Has someone done