You can try the following commands:

First, stop MySQL

 /etc/rc.d/init.d/mysql stop


Repair all SQL databases:

myisamchk -r /var/lib/mysql/*/*.MYI

 
Start mysql again:

/etc/rc.d/init.d/mysql start


If it does not work, could in the following way

mysqlcheck –all-databases -r #repair
mysqlcheck –all-databases -a #analyze
mysqlcheck –all-databases -o #optimize


That's it !!

Hai trovato utile questa risposta? 0 Utenti hanno trovato utile questa risposta (0 Voti)