WordPress.org

Ready to get started?Download WordPress

Forums

reinstall database - getting error (4 posts)

  1. kevbikemad
    Member
    Posted 2 years ago #

    I am trying to reinstall a backed up database using phpmyadmin, but I get the following error.

    SQL query:

    CREATE TABLE wp_BWPS_d404 (
    attempt_id bigint( 20 ) NOT NULL AUTO_INCREMENT ,
    computer_id varchar( 20 ) default NULL ,
    attempt_date int( 10 ) default NULL ,
    qstring varchar( 255 ) default NULL ,
    referrer varchar( 255 ) default NULL ,
    PRIMARY KEY ( attempt_id )
    ) ENGINE = MYISAM DEFAULT CHARSET = latin1;

    MySQL said: Documentation
    #1050 - Table 'wp_BWPS_d404' already exists

  2. If you want to re-create a table, you need to drop it first.

  3. kevbikemad
    Member
    Posted 2 years ago #

    Sorry, I have very limited (no) knowledge about databases. Why would I need to re-create a table if I am trying to basically re-install an entire database?

    I was trying to follow the steps from the codex.

    Login to phpMyAdmin.
    Click databases, and select the database that you will be importing your data into.
    You will then see either a list of tables already inside that database or a screen that says no tables exist. This depends on your setup.
    Across the top of the screen will be a row of tabs. Click the Import tab.
    On the next screen will be a Location of Text File box, and next to that a button named Browse.
    Click Browse. Locate the backup file stored on your computer.
    Make sure the SQL radio button is checked.
    Click the Go button.

  4. You will then see either a list of tables already inside that database or a screen that says no tables exist.

    Your error says - Table 'wp_BWPS_d404' already exists

    Thus the datbase table you are trying to create already exists.

    If you want to create it again, then you need to drop the old one.

    You might want to hire someone to do this for you, if you're not familiar with databases.

Topic Closed

This topic has been closed to new replies.

About this Topic