[thelist] My MySQL tables got corrupted

Erik Sabowski Erik.Sabowski at noaa.gov
Tue Jul 25 11:15:58 CDT 2000


how are you starting MySQL? it comes with a script called mysqld_safe
and, as far as i remember, it will automatically restart the SQL daemon
when it goes down...somebody please correct me if i am wrong. if this is
the case, you could modify the script to send you an email or somethign
when the database goes down, but if the scripts is working correctly, it
should have it running again anyway

#airyk

> 
>      Also, does anyone have any type of solution for when the database goes
>      down?  ie....how are you notified?  Mine went down at 11:30pm.
>      Luckily, I checked it before hitting the sack.  If I had not checked
>      it, it would have been down all night.  My ISP support said that a 10
>      line script could do the job, but did not offer anything more than
>      saying that.

-- 
+----------------------------------------------------+
| Erik M. Sabowski          Computer Assistant       |
| erik.sabowski at noaa.gov    National Geodetic Survey |
|   ----------------------------------------------   |
|    National Oceanic and Atmospheric Association    |
+----------------------------------------------------+




More information about the thelist mailing list