MySQL Forums
Forum List  »  General

If mySQL crashes, automatically run myisamchk on startup. Possible on FreeBSD?
Posted by: Andrew Mohebbi
Date: March 28, 2005 08:24AM

I'm trying to think of a way I can modify /usr/local/etc/rc.d/mysql-server.sh so that when it is called after a system reboot it can see if mySQL was not shut down correctly (by checking the PID file maybe?). If it wasn't, then myisamchk would be automatically run before mySQL is started up.

Anyone have any ideas?

Options: ReplyQuote


Subject
Written By
Posted
If mySQL crashes, automatically run myisamchk on startup. Possible on FreeBSD?
March 28, 2005 08:24AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.