Announcement

Collapse
No announcement yet.

Database table corrupt

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Database table corrupt

    I have two database tables that I'm having issues with. I'm getting errors with:

    mysql error: Can't find file: 'vb_threadviews.MYD'

    and

    mysql error: Can't find file: 'vb_attachmentviews.MYD'

    I've tried clicking the "Repair / Optimize Tables" button and it can't seem to do it.

    Now we did have a server problem where we lost some tables that I ended up having to delete and recreate. Can someone post the information of how I can delete and then re-create the tables, or another possible solution? I just don't know the structure of these tables, otherwise I could obviously just re-create them. If you could that would be terrific as I'm out of ideas of how to fix these.

    Thanks again,

    Ian

  • #2
    Which version of vBulletin are you running?

    Comment


    • #3
      Originally posted by Floris
      Which version of vBulletin are you running?
      Hi Floris,

      We're running 3.0.9.

      Thanks in advance for your assistance!

      Ian

      Comment


      • #4
        Run these queries to recreate these tables:

        1:
        DROP TABLE IF EXISTS vb_threadviews;

        2:
        CREATE TABLE vb_threadviews (
        threadid INT UNSIGNED NOT NULL DEFAULT '0',
        KEY threadid (threadid)
        );

        3:
        DROP TABLE IF EXISTS vb_attachmentviews;

        4:
        CREATE TABLE vb_attachmentviews (
        attachmentid INT UNSIGNED NOT NULL DEFAULT '0',
        KEY postid (attachmentid)
        );
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment

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