WordPress.org

Ready to get started?Download WordPress

Forums

Repair database (5 posts)

  1. foodsof1
    Member
    Posted 4 years ago #

    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??

  2. henkholland
    Member
    Posted 4 years ago #

    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 ?>

  3. flick
    Member
    Posted 4 years ago #

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

    http://wordpress.org/extend/plugins/wp-dbmanager/

  4. foodsof1
    Member
    Posted 4 years ago #

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

  5. flick
    Member
    Posted 4 years ago #

    @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 http://codex.wordpress.org/Editing_wp-config.php#Automatic_Database_Optimizing

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.