Mysql Table Marked As Crashed And Should Be Repaired
Table is marked as crashed and should be repaired – Stack …
I am getting this error in wordpress phpMyadmin
#145 – Table ‘. /DB_NAME/wp_posts’ is marked as crashed and should be repaired
When I login to phpMyadmin, it says wp_posts is “in use”
My website is currently down because of this.
I googled this problem, but I don’t see the “repair” button on phpMyadmin. Please let me know how to fix this. I am not sure where to issue PHP command. Please advise, my proficiency with PHP is very basic.
asked Dec 5 ’10 at 3:51
0
Here is where the repair button is:
answered Dec 5 ’10 at 3:53
NicanNican7, 4933 gold badges24 silver badges26 bronze badges
Run this from your server’s command line:
mysqlcheck –repair –all-databases
tylerltylerl28. 6k12 gold badges76 silver badges109 bronze badges
1
I had the same issue when my server free disk space available was 0
You can use the command (there must be ample space for the mysql files)
REPAIR TABLE `