mysqlcheck -u root -p --auto-repair --optimize --all-databases
You will be asked for root password and command will run. If you want to do it through cron, put your password immediately after -p… like -ppassword.
mysqlcheck -u root -p --auto-repair --optimize --all-databases
You will be asked for root password and command will run. If you want to do it through cron, put your password immediately after -p… like -ppassword.
Everyone hates vi… I sure do. If you can’t or don’t want to permanently change your crontab editor use this:
env EDITOR=nano crontab -e
This should do it:
yum install perl gcc make kernel-headers kernel-devel audit binutils glibc-headers
If vmware tools install cannot find your linux headers, throw these in too and try again:
yum install kernel-headers-`uname -r` kernel-devel-`uname -r`