Database Table is marked as crashed and should be repaired
I am getting this error in my wordpress website phpMyadmin dashboard.
#145 - Table './DB_NAME/wp_posts' is marked as crashed and should be repaired
In my phpMyadmin, it says wp_posts is “in use”
how can i fix it?
First Option:
Run this from your server’s command line:
mysqlcheck --repair --all-databases
Second Option:
You can repair the table from the phpmyadmin also.