Forums

Error Message received when logged in (2 posts)

  1. budgetdiva
    Member
    Posted 2 years ago #

    I've been logging on to wordpress site and editing and updating my blog via the website so I am not sure what version I am using.

    I received this error message when I logged on today :

    WordPress database error: [Table 'wp_comments' is marked as crashed and last (automatic?) repair failed]
    SELECT COUNT(*) FROM wp_comments WHERE comment_approved = '0'

    WordPress database error: [Table 'wp_comments' is marked as crashed and last (automatic?) repair failed]
    SELECT COUNT(comment_ID) FROM wp_comments WHERE comment_approved = 'spam'

    How do I fix this?

  2. MichaelH
    moderator
    Posted 2 years ago #

    Paul has a nice little how-to on repairing MySQL tables.
    http://paulstamatiou.com/2006/05/31/how-to-quickie-repair-mysql-tables-in-phpmyadmin/

    Hopefully you are performing routine backups.

    WordPress Backups

Topic Closed

This topic has been closed to new replies.

About this Topic