WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Restoring WP database forces WP reinstall (11 posts)

  1. insurgenesis
    Member
    Posted 2 years ago #

    Hi all,

    I recently encountered an issue and needed to restore from a backup using BackWPup. Then Imported the database again but I didn't expect to find an install WP screen after I had imported.
    Why is it necessary to reinstall, or is this a common glitch to which there are workarounds?
    Interestingly, the tutorial I followed clearly stated this is normal and 100% procedure.

    Please, if you're reading this now, bring your fingers to the keyboard.

  2. iDesign'd Media
    Member
    Posted 2 years ago #

    First thing that comes to my head, is that the exact WordPress version between database and actual WP script are not exactly the same.

    This may help: http://www.tamba2.org.uk/wordpress/restore/

  3. insurgenesis
    Member
    Posted 2 years ago #

    Quick response - thanks!
    No I don't think so. Anyway how can I verify it and/or change it?

  4. iDesign'd Media
    Member
    Posted 2 years ago #

    Did you make sure the wp-config.php had the appropriate information listed correctly?

    For example... table prefix?

  5. iDesign'd Media
    Member
    Posted 2 years ago #

    Not sure if this may help, but did you review this:

    http://codex.wordpress.org/Restoring_Your_Database_From_Backup

  6. insurgenesis
    Member
    Posted 2 years ago #

    In wp-config it's just standard: 'wp_' , and the database in phpmyadmin no longer exists - I've created a new one by the same name.

  7. insurgenesis
    Member
    Posted 2 years ago #

    Yes thanks, I looked at it but I don't understand to what extent I will be required to use Mysql commands.
    I should say that
    (1)the backup I had made prior to deleting the database tables was very complete.
    (2)It's a very young project so there aren't many tables to begin with. It doesn't take long to import it either and it goes smoothly until the reinstall bit.
    (3)The site is local not live, and I'm using WAMP.

  8. iDesign'd Media
    Member
    Posted 2 years ago #

    If I understand what your last comment said, that would lay your problem. If you restored the database, it is not to be found within the phpMyAdmin, along with its associated tables and information. Then there is nothing for WP to work with.

    Therefore, if nothing is showing, and you have a blank database with just a matching dB name; then WordPress would obviously need to prepare the dB for usage. Hence, the installation setup. If you still have a copy of the backup database, then I would review the link I posted and try to restore the database again. Delete the "recently created" database and start fresh.

    Hope it works out for you insurgenesis

  9. insurgenesis
    Member
    Posted 2 years ago #

    OK just to be clear, this is what I did:
    I deleted old db, started afresh with a new db name (but one that corresponds to the old one in backup) and attempted to import into the new one the contents of the old.

  10. iDesign'd Media
    Member
    Posted 2 years ago #

    Personally, I have not worked with WAMP and not sure buddy if things would be of the same concepts. Personally, when I'm working on new websites, I have always created within a sub-directory, then moved WP upon completion.

    Maybe this could help you better: http://forum.wampserver.com

  11. insurgenesis
    Member
    Posted 2 years ago #

    I found it - it's always good to make doubly sure.

Topic Closed

This topic has been closed to new replies.

About this Topic