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?
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?
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.
This topic has been closed to new replies.