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 !!

Je li Vam ovaj odgovor pomogao? 0 Korisnici koji smatraju članak korisnim (0 Glasovi)