• Home
  • About 404TS
  • Contact

404 Tech Support

Where IT Help is Found

  • Articles
    • Code
    • Entertainment
    • Going Green
    • Hardware, Gadgets, and Products
    • Management
    • Network
    • News
    • Operating Systems
    • Security and Privacy
    • Software
    • System Administration
    • Talking Points
    • Tech Solutions
    • Web
    • Webmaster
  • Reviews
  • Media
    • Infographics
    • Videos
  • Tech Events
  • Tools
    • How do I find my IP address?
    • Browser and plugin tests
  • Get a Technical Consultation
You are here: Home / Articles / Tech Solutions / phpBB: “Table is marked as crashed and should be repaired”

phpBB: “Table is marked as crashed and should be repaired”

2009-08-15 by Jason

I visited my forum this morning and was getting a peculiar error:

General Error

SQL Error [ mysql4 ]

Table ‘phpbb_sessions’ is marked as crashed and should be repaired [1194]

It then goes on to describe the SQL query that it tried to run and shows some of the function calls that led up to the error.

Fortunately, this is a fairly easy error to resolve. What do you do when something is broken? You repair it! The error message even tells you that it should be repaired. From the error message, you should note the name of the table that has the problem.

In my instance, and from the screenshot below, you can see it was the ‘sessions’ table with the prefix ‘phpbb_’.

error

If your hosting company has phpMyAdmin installed, you can take care of this problem yourself. If you just have access to run the SQL command, say through another php page, you can use the query: REPAIR TABLE ‘phpbb_sessions’ (or whatever your problem table is).

Open up phpMyAdmin and select the database for your forum. In the left column, click on the link for the table that was listed in the error. Then when the next page reloads, click on the Operations tab on the top of the far-right.

phpMyAdmin

On the page that loads for the Operations tab, scroll down until you see the Table maintenance section. There click the link for ‘Repair table’.

repair

This will run the query to repair the table. Another page will load and show you the query that was run and any information that resulted from the query. For example, my table changed from 157 rows to 155.

results

That should take care of the problem. It’s hard to say what caused the table to become crashed, so you may note the time and try to track down the cause if you see an increasing frequency of the problem. As part of routine maintenance, you can also go back under the operations table and run the Optimize table query to improve performance.

Filed Under: Tech Solutions, Webmaster

Trending

  • Gauss Kickstarter – glasses for the digital age
    In Hardware, Gadgets, and Products
  • Zynga, the Makers of Farmville, Want You To Avoid Phishing
    In Media, Security and Privacy
  • Use Sophos’ Free Anti-Rootkit Software To Finish Cleaning Up A PC
    In Security and Privacy, Software

Latest Media Posts

Find Out Where To Download SNES ROMs

Find Out Where To Download SNES ROMs

Multifunctional Video Conversion Tools – Wondershare Video Converter

Multifunctional Video Conversion Tools – Wondershare Video Converter

  • Popular
  • Latest
  • Today Week Month All
  • Access to the resource [servershare] has been disallowed Access to the resource [servershare] has been disallowed
  • Windows Server 2012: Installing Active Directory Users and Computers and Group Policy Management Console Windows Server 2012: Installing Active Directory Users and Computers and Group Policy Management Console
  • How to ‘Unblock’ multiple files at a time with PowerShell How to 'Unblock' multiple files at a time with PowerShell
  • Increase IIS Private Memory Limit to improve WSUS availability Increase IIS Private Memory Limit to improve WSUS availability
  • How a DirecTV bill really works in 2015 How a DirecTV bill really works in 2015
  • How Virtual Reality Supports Mental Health Therapy How Virtual Reality Supports Mental Health Therapy
  • Key Strategies of Successful Coin Listing on Exchange Key Strategies of Successful Coin Listing on Exchange
  • Keeping Your Mac Healthy: A Comprehensive Guide to Maintenance and Troubleshooting Keeping Your Mac Healthy: A Comprehensive Guide to Maintenance and Troubleshooting
  • Making Distributed Software Development Work: Strategies and Best Practices for Managing Remote Teams Making Distributed Software Development Work: Strategies and Best Practices for Managing Remote Teams
  • customer contactless payment for drink with mobile phon at cafe counter bar,seller coffee shop accept payment by mobile.new normal lifestyle concept The Latest Innovations In Payment Technology
Ajax spinner

Elevator Pitch

404 Tech Support documents solutions to IT problems, shares worthwhile software and websites, and reviews hardware, consumer electronics, and technology-related books.

Subscribe to 404TS articles by email.

Recent Posts

  • How Virtual Reality Supports Mental Health Therapy
  • Key Strategies of Successful Coin Listing on Exchange
  • Keeping Your Mac Healthy: A Comprehensive Guide to Maintenance and Troubleshooting

Search

FTC Disclaimer

404TechSupport is an Amazon.com affiliate; when you click on an Amazon link from 404TS, the site gets a cut of the proceeds from whatever you buy. This site also uses Skimlinks for smart monetization of other affiliate links.
Use of this site requires displaying and viewing ads as they are presented.

Copyright © 2026 · Magazine Pro Theme on Genesis Framework · WordPress · Log in