Support » Fixing WordPress » Restoring Database

  • 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Restoring Database’ is closed to new replies.