Table is marked as crashed and should be repaired(Errno=145)



Error

Table <db/table_name> is marked as crashed and should be repaired(Errno=145)

Solution

1. Login to the user's cPanel account which have database error problem.

2. Enter into user's phpMyAdmin.

3. Select the database which has the above problem. The table name and database name will be specified in the error itself.

4. After enter into the database, select the SQL tab.

5. Issue the following SQL command by giving the correct table name and execute by clicking GO.
   REPAIR TABLE <table_name>;

6. Just access the url you are having the problem and verify the result.

This entry was posted by Arun Ghosh. Bookmark the permalink.