Published in: Bash
Useful when your server runs out of disk space
myisamchk -s $(find /var/lib/mysql/ -name *.MYI) /etc/rc.d/init.d/mysqld stop And this to fix the tables that need repairing: myisamchk -r -q <PATH>/table_name.MYI
You need to login to post a comment.
