No announcement yet.

Command to repair crashed table

  • Filter
  • Time
  • Show
Clear All
new posts

  • Command to repair crashed table

    I would normally go into my admin console and repair the database, but I can not login due to the error. What command line do I use in phpadmin to perform the repair?

    Database error in vBulletin 3.8.0:
    Invalid SQL:
    DELETE FROM strikes WHERE striketime < 1272283995;
    MySQL Error   : Table './adminda_driveaccord/strikes' is marked as crashed
    and should be repaired
    Error Number  : 145
    Request Date  : Monday, April 26th 2010 @ 06:13:15 AM
    Error Date    : Monday, April 26th 2010 @ 06:13:15 AM
    Script        : [URL][/URL]
    Referrer      : [URL][/URL]

  • #2
    Tick the table name and all the way to the bottom where it says: With selected", choose for the repair option.

    Or run this query at the SQL box,

    REPAIR TABLE 'tablename';
    And replace tablename with the actual name of the table that needs repairing. Hope it helps.


    • #3
      Perfect - knowledge is a great thing.



      • #4
        You are welcome.


        • #5
          You should try to avoid using the built in acp table repair system, as this tends to do all sorts of things. Using your host's repair commands on their cPanel or w/e control panel they have is better and less risk of problems.
          That's it. If you REALLY can't say ANYTHING nice to me at all on this forum, then I am going to go insanely mad at you. I've had enough of the UNTOLD ABUSE you are all giving me and you should really be CONSIDERATE of other people.


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