Looking at error log, you might found this error code – mysql error 144 table.
1st, navigate to /var/lib/mysql/<database>
For MyISAM repair command:
myisamchk -r <table_name>
if above does not work, use this command
myisamchk -r -v -f ./<table name>
For InnoDB :
A bit more complicated and not tested yet, so will update this post later.
Reference :
- https://www.a2hosting.com/kb/developer-corner/mysql/repairing-mysql-databases-and-tables
- http://stackoverflow.com/questions/8843776/mysql-table-is-marked-as-crashed-and-last-automatic-repair-failed