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?

Asked on November 10, 2022 in MySQL,   Wordpress.
Add Comment
  • 1 Answer(s)

    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.

    RE: Database Table is marked as crashed and should be repaired

    Answered on November 10, 2022.
    Add Comment

    Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.