Importing database from PHPmyAdmin export
-
Today I took a database backup (via PHPmyAdmin export) prior to making some changes to an old website, built in 2011. The site was using WP 3.4, with a 2010 child theme. After doing the database export I also used FTP to copy the entire wordpress directory to my local HDD.
Then I went into the dashboard, and before making my own changes I decided to upgrade to 3.6. After the upgrade, many images seemed to be broken, and the site loaded slowly. I decided to just restore the backup and continue with WP3.4. Using directions here, I used PHPmyAdmin to start the import of my exported file, and quickly saw this error message:
——————–
SQL query:
—
— Database:pool1965_wrdp1
—
CREATE DATABASEpool1965_wrdp1
DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;MySQL said: Documentation
#1007 – Can’t create database ‘pool1965_wrdp1’; database exists——————-
I didn’t do any other steps during the original backup, and suspect that I may not have my pages in the backup (there are no posts). So I’m guessing I can’t simply drop the existing db and import the backup.
I’m reasonably comfortable with PHPmyAdmin but I’ve never tried to restore a db before. I could use some advice on how to proceed.
Thanks in advance.
- The topic ‘Importing database from PHPmyAdmin export’ is closed to new replies.