Script to check and take crashed database list in a file mysqlcheck –all-databases | grep “doesn’t exist” | awk {‘print $4′} | cut -d. -f1 | cut -d \’ -f2 | uniq > /root/dblist Share this: Click to share on X (Opens in new window) X Click to share on Facebook (Opens in new window) Facebook Like Loading... Related MySQLscripts