• Resolved imjscn

    (@imjscn)


    I want to reinstall WP to get rid of some messy things that I don’t have a clue about. But I want to keep database coz there are users.
    Can I just install new WP without doing anything on database?

Viewing 3 replies - 1 through 3 (of 3 total)
  • It’s not clear exactly what you want to accomplish, but you can use the same database but use a different $table_prefix in your wp-config.php. That way WordPress will install a complete set of tables with that new prefix.

    You should also backup your database and files before doing anything else. See WordPress Backups

    If you want to use old database with new fresh install of wordpress then I recommend that you make a backup of the database.

    All you will need to do is upload your wordpress and change the name of wp-sample-config.php to wp-config.php change your database information in wp_config.php and run install script and you may prompted to update your database follow the steps and you will have new wordpress using old database.

    Thread Starter imjscn

    (@imjscn)

    Thanks! I will try this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can I install WP without deleting old database?’ is closed to new replies.