Forums

Restore Database Saved from WordPress 2.0.3 (11 posts)

  1. surrealdolly
    Member
    Posted 5 years ago #

    Hi, guys. My site, powered by WP 2.0.3, crashed. BIG TIME. I couldn't pinpoint the problem, and I tried and tried to troubleshoot but to no avail. Upgrading to 2.0.5 wasn't working as well.

    I'd like to re-install WP 2.0.5 this time, you know, and start from scratch. That means removing all my old WP files. I have my backup database from WP 2.0.3 saved on my computer though.

    My question is this:

    Is it possible to install (NOT upgrade to) 2.0.5 and restore my database, version 2.0.3, into the newer platform? And if so, how does one go about it?

    HELP! I'm at my wits' end and not a real risk-taker when it comes to technology.

  2. Kafkaesqui
    Moderator
    Posted 5 years ago #

    "Is it possible to install (NOT upgrade to) 2.0.5 and restore my database, version 2.0.3, into the newer platform? And if so, how does one go about it?"

    You should only need run wp-admin/upgrade.php once you have the 2.0.3 database up.

  3. vkaryl
    Member
    Posted 5 years ago #

    Um. Well, but.... you need to have the 2.0.3 file distro too.... or am I misunderstanding? I don't think that if you've uploaded the 2.0.5 files, that you're going to get to just sail on without upgrading the database....

  4. Kafkaesqui
    Moderator
    Posted 5 years ago #

    Why would you need the 2.0.3 distro to upgrade to 2.0.5?

    Look at it this way: Someone has 2.0.3 already installed. They download the current version of WordPress, and replace their 2.0.3 files with the 2.0.5 ones. The database is still at 2.0.3 (so to speak) until one runs the upgrade.

    It's the same situation as here.

  5. vkaryl
    Member
    Posted 5 years ago #

    Ummm. Yeah. But last time I did that I got the "your database is out of date you need to upgrade" message....

    In other words, if you want to remain at 2.0.3 (isn't that what the OP wants? Am I even more confused?), you can't if you copy up the 2.0.5 files.

  6. surrealdolly
    Member
    Posted 5 years ago #

    That was fast, Kafkaesqui and vkaryl. Thanks! Okay, let's say I've installed 2.0.5 successfully and am left with my old database. How do I upgrade that database to make it work with the new WordPress? Do I use phpMyAdmin?

    Again, I appreciate all the help.

  7. Kafkaesqui
    Moderator
    Posted 5 years ago #

    From OP:

    "Is it possible to install (NOT upgrade to) 2.0.5 and restore my database, version 2.0.3, into the newer platform?"

    The only way to do that is to install 2.0.5 as a fresh installation, but run upgrade.php to update the database. I don't know of another option.

  8. Kafkaesqui
    Moderator
    Posted 5 years ago #

    "Do I use phpMyAdmin?"

    Assuming this is a sqldump file we're talking about, phpMyAdmin would be a good tool for it. If the dump file is set to INSERT (the records) and not UPDATE or REPLACE, you could drop the tables (and *just* the tables, not the entire database) for 2.0.5 (if you went through the normal install with it) and then import the sqldump.

  9. vkaryl
    Member
    Posted 5 years ago #

    Okay, I AM terminally confused, and I apologize abjectly. I for some reason read the OP as wanting to REMAIN at version 2.0.3. Sorry!

    Kaf knows; just ignore me.

  10. surrealdolly
    Member
    Posted 5 years ago #

    Hi again. I've successfully installed WP 2.0.5. I've imported my database, too. So my posts, comments, etc. are all there. But why can't I go to my dashboard? I get a "The page cannot be found" error message on this link: http://www.findingnorway.com/index.php/wp-admin/index.php.

    And why are there two "index.php" in the same link?

  11. Kafkaesqui
    Moderator
    Posted 5 years ago #

    I find it strange the links on your blog are 'correct' (that is, not passing your custom permalinks through index.php), but what's showing up for your theme and whatnot is attempting to go through index.php, including your admin pages.

    First, can you log in this way?

    /wp-login.php?redirect_to=/wp-admin/index.php

    Second, what is 'home' and 'site_url' in your options table set to?

Topic Closed

This topic has been closed to new replies.

About this Topic