No announcement yet.

Forum Crashed DB Error?

  • Filter
  • Time
  • Show
Clear All
new posts

  • Forum Crashed DB Error?

    It's been a while since I ran into a problem with one of my forums I'm not sure where to look on this one.
    Yesterday evening one of my discussion forums crashed. The forum has less than a hundred members, I haven't changed anything and no one was on the forum yesterday.
    I remember receiving an e-mail recently from my host stating a version upgrade would be conducted soon to mySQL? Could this be the reason?
    I can get into my control panel. The message below is what I found.
    I'm wondering if I should got to the maintenance section and update everything?
    Again I am not sure. I have also sent a copy of this post to my host.
    Below is the message that I am receiving, among a few hundred DB error messages.

    Database error in vBulletin 3.8.4:
    Invalid SQL:
    SELECT COUNT(*) AS count
    FROM attachment AS attachment
    INNER JOIN post AS post USING (postid)
    WHERE attachment.visible = 0;
    MySQL Error : Table './deser40_vb/post' is marked as crashed and should be repaired
    Error Number : 145
    Request Date : Monday, December 20th 2010 @ 03:31:16 AM
    Error Date : Monday, December 20th 2010 @ 03:31:16 AM
    Script :
    Referrer :
    IP Address :
    Username : 1
    Classname : vB_Database
    MySQL Version : 5.1.48

  • #2
    Run Repair/Optimize in the Admin CP. You may need to run it more than once to fix all errors:

    Admin Control Panel -> Maintenance -> Repair/Optimize Tables -> Check All -> Continue

    If you cannot access the Admin CP, then you can use phpMyAdmin to repair tables.

    If that doesn't work then this may be too damaged to fix with the normal methods. Please check out this thread for other ways to repair a db, particularly items #2 and 3:

    You may have to ask your host to try and repair this for you.
    Vote for:

    - *Admin Settable Paid Subscription Reminder Timeframe*
    *PM - Add ability to reply to originator only*
    - Add Admin ability to auto-subscribe users to specific channel(s)
    - Highlight the correct navigation tab when you are on a custom page
    - "Quick Route" Interface...
    - Allow to use custom icons for individual forums


    • #3
      Thanks Trevor;
      I sent the OP above to my host support as well. Within minutes the site was back up.
      Below is their support message.
      I'm wondering if I should still go in Admin Cont and execute the procedure in your first two lines above?
      Forum seems to be operating as normal.

      I have checked on your database and found the database table are corrupted. I ran the database repair and your site seems to be working now.
      Please do not hesitate to contact us if you require further assistance or have any questions.
      Kind Regards,
      Customer Service Representative


      • #4
        No, since everything is working now it should be fine.


        • #5
          Thank you!


          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.