Repair or Optimize all MySQL Databases in SSH

mysqlcheck gives you this ability to repair, optimize and analyze databases stored in your server. one of the good uses of this app is to mass repair, optimize or analyze all the existing databases on the server.

In order to achieve any of those mysqlcheck can be used as below:

mysqlcheck --all-databases -r #repairs all databases
mysqlcheck --all-databases -a #analyze all databases
mysqlcheck --all-databases -o #optimize all databases

 

Incoming search terms:

  • repair all database hazaveh
  • hazaveh all mysql
  • hazaveh organize database
  • mysql repair all hazaveh
  • mysqlcheck reindex

Leave a Reply