Forum Moderators: phranque

Message Too Old, No Replies

If mySQL crashes, automatically run myisamchk on startup. Possible on

         

moheybee

2:20 pm on Mar 28, 2005 (gmt 0)

10+ Year Member



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?

coopster

10:48 pm on Mar 28, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Check the logs?

[dev.mysql.com...]