mySQL: How to myisamchk on startup

Hi,
I am encountering key corruptions when I shut down mysql (is there a "safe" way to shutdown?).

In anycase, I like to run the myisamchk shell command as soon as mysql is started up - automatically. In what file do I insert that shell command?

Thanks,

steve

 

 

 

 

Top