How to quickly repair MySQL database table using phpMyAdmin?

Posted on the September 18th, 2008 under Server Admin Tips by Stephen

If the MySQL server crashed and your database becomes corrupt, here is now to easily repair it using phpMyAdmin:

  1. Login to phpMyAdmin
     
  2. Choose the affected database (click on the database name on the left)
     
  3. In the panel on the right, you should see a list of your database tables. Check the boxes by the tables that need repair.
     
  4. At the bottom of the window just below the list of tables, there is a drop down menu. Choose “Repair Table”

 
This should fix the problem and let your program access the database again. On some cases, the damage can’t be repaired. It is a good idea to backup your database from time to time. Maybe this script is helpful to you: backupdb


Share this page:
  • Facebook
  • Twitter
  • StumbleUpon
  • Slashdot
  • Digg
  • del.icio.us
  • Google Bookmarks
  • Live
  • MySpace
  • Technorati
  • LinkedIn
  • Reddit
Related Posts:
  1. How to backup and restore MySQL database?
  2. Useful MySQL shell commands
  3. How to Create a System Repair/Recovery Disk in Windows 7

Leave a Comment