List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:December 8 2000 5:14am
Subject:Re: nightly precautions
View as plain text  
In the last episode (Dec 07), lazybrain said:
> I'm about to put my new database. I was wondering if anyone has a
> script that will take down mysql and run isamchk , etc and bring the
> server back up?? I wanted cron to do this. I can't exactly take it
> down in the middle of the day so cron will have to run it at night?

You shouldn't need to run myisamchk unless your system (or mysql)
crashes.  You can put a myisamchk run in your startup script, which
will fix the tables in that case.

	Dan Nelson
nightly precautionslazybrain8 Dec
  • Re: nightly precautionsDan Nelson8 Dec
  • Re: nightly precautionsGreg Cope8 Dec