WordPress.org

Ready to get started?Download WordPress

Forums

database gone (6 posts)

  1. Laney
    Member
    Posted 8 years ago #

    I mistakenly deleted the database, now when I go to my blog it says:
    It doesn't look like you've installed WP yet. Try running install.php.

    I don't know what can be done about it at this point. I'd appreciate help.

    thanks,

    Elaine

  2. dedge
    Member
    Posted 8 years ago #

    If the database is truly gone, there's nothing that can be done.

    But... Is the database truly gone?

    Check with your hosting provider and see if they can restore it from a recent backup. You'd still lose material added since the backup, but that would be a small price to pay. Speaking of price, your host may charge for the restoration, most do when they are not at fault -- still, it's probably worth it.

  3. Laney
    Member
    Posted 8 years ago #

    Thanks for replying!
    It's a new blog, so I didn't have much there, and the good thing was that I had a tab on my browser open on the blog, so when I realized what I had done I took screen shots of everything! LOL At least I can re-type all the postings! LOL
    I did email the hosting provider, haven't heard anything yet. The problem is, I deleted that database and created another one with the same name, which I am using to test a cart system... heeheee... so even if they have a recent backup, that cannot be restored or it will overwrite what I have there already.
    I think the best thing would be starting from scratch, what do you think? I am just not sure what to do... should I just run install.php again?

    Elaine

  4. vkaryl
    Member
    Posted 8 years ago #

    You'll have to do something about another wp database first. If you have an option only for one database, you can install wp into the same one as the cart system by using a different table prefix (there's an option for that in the wp-config.php file).

    Once you've sorted that out, then yes, you just need to do a new install.

  5. Laney
    Member
    Posted 8 years ago #

    I can have more databases... this time I am going to use the proper name for it... heehee... I always use the site's name for the database, that way I don't get confused, but just before installing WP I decided to change the blog's name... but used the same database that I had already created for it... bad move... when I installed the test cart, I didn't remember that and deleted that database and created it again to use with the cart...

    thanks, I will created the database now and run the install.

    Eoaine

  6. dedge
    Member
    Posted 8 years ago #

    If you have records of most of the database content, even if just screenshots, and there's not too much then it's probably easiest to just restore it by hand.

    Your host could restore the database with a different name. You'd have to re-configure WP to read it (wp-config.php). WP can also easily work out of one subsection of a larger database that does other things on your site.

    Alternatively, they can probably send you the database archive and you could enter material manually. There are ways to automate the process, but some technical skill is required.

    If the data that's lost isn't a big deal, or if it's not too hard to restore it by other means, then yeah I'd say just start over.

Topic Closed

This topic has been closed to new replies.

About this Topic