Check,Optime and auto Repair MySQL Tables Using Mysqlcheck

Due to errors or bugs in the MySQL database tables, one can come across various unknown issues. Whenever a database table gets corrupted, the most important thing is to determine the issue behind it.

 Run The below command to 
Check,Optime and auto Repair MySQL


  mysqlcheck -u root -p --auto-repair --optimize --all-databases

 

Was this answer helpful? 0 Users Found This Useful (0 Votes)