/etc/init.d/mysql stop or service mysql stopGo into the directory where the tables are stored:
cd /var/lib/mysqlCheck each database for errors:
myisamchk -cs a*/*.MYIIf errors found then run the fix:
myisamchk -r a*/*.MYIOnce all checked and repaired, restart the service:
/etc/init.d/mysql start or service mysql start
No comments:
Post a Comment