Using mysqlcheck --auto-repair command
Posted: Mon Apr 21, 2008 3:47 pm
Hi all,
Is there any risk to execute the mysqlcheck auto repair command at the system start?
I have a system installed in a place where I have lot of power issues. I am having aproximately one power loose per day. Most of the time the system restart without problems, but sometimes the sql database gets corrupted. Fortunately after running this command everything is fixed.
That is why I would like to run this command during each system startup to get rid of this situation, for example, adding it on the /etc/rc.local file.
Any feedback will be really appreciated.
Thanks,
Sebastián
Is there any risk to execute the mysqlcheck auto repair command at the system start?
I have a system installed in a place where I have lot of power issues. I am having aproximately one power loose per day. Most of the time the system restart without problems, but sometimes the sql database gets corrupted. Fortunately after running this command everything is fixed.
That is why I would like to run this command during each system startup to get rid of this situation, for example, adding it on the /etc/rc.local file.
Any feedback will be really appreciated.
Thanks,
Sebastián