Error after table restore using xtrabackup backup myisam engine

use xtrabackup"s innobackupex tool to back up the mysql database, some of which are myisam engines. After another machine is restored, when querying the table, prompt table "xxx" is marked as crashed and should be repaired, to use the repair command to repair it can return to normal, but to be executed table by table, what is the solution?


repair

using mysqlcheck command

Common parameters of mysqlcheck:

  -a  --all-databases  
  -r  --repair   
  -c  --check    
  -a  --analyze  
  -o  --optimize 
  -q  --quik   
  -F  --fast   
   A, all-databases 
  -a, analyze 
  -o, optimize 
  -r, repair 
  -c, check 
  auto-repair 
  -B, databases 

e.g.:

-sharp 
mysqlcheck -u root -p -A -c 

-sharp 
mysqlcheck -u root -p -A -r

-sharp 
mysqlcheck -u root -p -r database_name
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c1ea77-33424.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c1ea77-33424.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?