Support » Fixing WordPress » Repair database

  • I’m getting this message: o allow use of this page to automatically repair database problems, please add the following line to your wp-config.php file. Once this line is added to your config, reload this page.

    define(‘WP_ALLOW_REPAIR’, true);

    What do I do??

Viewing 4 replies - 1 through 4 (of 4 total)
  • That’s a new feature in 2.9.1 but I never got that message and you are not obliged to use the feature.
    If you want it you need to copy and paste the line into wp-config.php on it’s own empty line below db_collate

    Make sure not to leave empty lines at the end of the file after the closing ?>

    I’ve always used Lesterchan’s DBManager plugin – easy to setup a set schedule for repairing, optimising, backingup a database.

    So I just downloaded the DBManager.. what do I need to do now? Or will it fix itself?

    @foodsof1: DB Manager is a plugin that helps you maintain your database which you can use instead of the built-in repair function.

    I never received the message either (with 2.9.1) although if it is still showing up for you, please add define('WP_ALLOW_REPAIR', true); to your wp-config.php as suggested by henkholland.

    If you want to disable it, you can just take the line out.

    p/s: You can read more about this particular functionality at

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Repair database’ is closed to new replies.