Riparazione ed ottimizzazione di tutti i database del server mysql


Utilizzare il seguente comando per ottimizzare tutti i database mysql di un server:

mysqlcheck -uusername -ppassword --verbose --check
--auto-repair --optimize --all-databases

Un ottima idea sarebbe poi quella di eseguire questo comando automaticamente ogni notte tramite crontab

Condividi questo articolo:
  • E-mail this story to a friend!
  • Google Bookmarks
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • LinkedIn
  • MySpace
  • StumbleUpon
  • Technorati

Lascia un commento

Categorie

Cerca

Meta

ERRORE: Non riesco a connttermi a MySQL! Controllare config.php .