Restoring Database (3 posts)

  1. carolinapanthers
    Posted 10 years ago #

    I am trying to restore a backup of my wp database. I am following the tamba2 guide and get an error at the last step telling me the database cannot be created: it already exists.

    What am I doing wrong?

  2. Pizdin Dim
    Posted 10 years ago #

    I haven't seen the tamba2 guide but I assume that your sql backup file will have a "create database xxxx" statement. Comment that out by inserting double dash "--" on that line and try again.

  3. Mark (podz)
    Support Maven
    Posted 10 years ago #

    You are restoring into an existing database ?
    What you need to do is first 'drop' all the tables in that database, then do the import.
    There is a page on that site that shows how to do that - it's on the bottom left of the main index.

Topic Closed

This topic has been closed to new replies.

About this Topic