Title: Importing database from PHPmyAdmin export
Last modified: August 21, 2016

---

# Importing database from PHPmyAdmin export

 *  [Runtheball](https://wordpress.org/support/users/eisenbart/)
 * (@eisenbart)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/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](http://codex.wordpress.org/Restoring_Your_Database_From_Backup),
   I used PHPmyAdmin to start the import of my exported file, and quickly saw this
   error message:
    ——————– SQL query: — — Database: `pool1965_wrdp1` — CREATE DATABASE`
   pool1965_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.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/importing-database-from-phpmyadmin-export/#post-4025426)
 * Try:
    – switching to the default theme by renaming your current theme’s folder
   inside wp-content/themes and adding “-old” to the end of the folder name using
   [FTP](http://codex.wordpress.org/FTP_Clients) or whatever file management application
   your host provides.
 * – [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by FTP or phpMyAdmin.
 * – re-uploading all files & folders – **except** the wp-content folder – from 
   a **fresh** download of WordPress. Make sure that you delete the old copies of
   files & folder before uploading the new ones.
 * – running the upgrade manually via wp-admin/upgrade.php
 *  Thread Starter [Runtheball](https://wordpress.org/support/users/eisenbart/)
 * (@eisenbart)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/importing-database-from-phpmyadmin-export/#post-4025451)
 * Thank you for the quick response!
 * It turns out that this was a caching problem in Chrome. I cleared cache, closed
   all Chrome windows, and quit Chrome. After a couple minutes I tried again and
   most of the problems were solved. Site still loads images more slowly than it
   did using WP 3.4, but not as dramatically slow now.
 * Now I don’t feel the need to restore the backup.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/importing-database-from-phpmyadmin-export/#post-4025453)
 * > Site still loads images more slowly than it did using WP 3.4, but not as dramatically
   > slow now
 * Have you tried:
 * – deactivating **all** plugins to see if this resolves the problem. If this works,
   re-activate the plugins one by one until you find the problematic plugin(s).
 * – switching to the default theme to rule out any theme-specific problems.
 * – [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause
   problems.
 *  Thread Starter [Runtheball](https://wordpress.org/support/users/eisenbart/)
 * (@eisenbart)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/importing-database-from-phpmyadmin-export/#post-4025498)
 * It apparently wasn’t just a caching issue, as its happening again (even on a 
   different computer). Page loads with most images broken. Reload the page and 
   some images appear. Refresh again and different images appear. Occasionally all
   images will appear. Sometimes I see “Oops! Google Chrome could not connect to(
   mysite.com)”
 * I think the db is corrupted, so I’ll revert to your first response and see if
   that will fix it.
 *  Thread Starter [Runtheball](https://wordpress.org/support/users/eisenbart/)
 * (@eisenbart)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/importing-database-from-phpmyadmin-export/#post-4025500)
 * After all this…what I’d REALLY prefer is to simply go back to WP 3.4 using my
   db export file. It looks like your recommendations are to salvage the 3.6 upgrade.
   Do you have additional recommendations that would help me get back to where I
   started?
 * edit: I did try to deactivate all plugins, then reactivate one at a time. This
   had no effect on the sites inability to load all images. Also tried resetting
   to default 2010 theme: still had many missing images. There were no missing images
   before I upgraded to WP3.6.
 * [http://professionalpoolservicesinc.com/](http://professionalpoolservicesinc.com/)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/importing-database-from-phpmyadmin-export/#post-4025558)
 * Do you have a pre-upgrade database backup?
 *  Thread Starter [Runtheball](https://wordpress.org/support/users/eisenbart/)
 * (@eisenbart)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/importing-database-from-phpmyadmin-export/#post-4025569)
 * Yes. As I said in the initial post, I used PHPMyAdmin to do an sql export. Then
   I also used FTP to download the entire wordpress directory. Then when things 
   went wrong, I used the directions at [http://codex.wordpress.org/Restoring_Your_Database_From_Backup](http://codex.wordpress.org/Restoring_Your_Database_From_Backup)
   
   to start the import of my exported file, and quickly saw this error message: ——————–
   SQL query: — — Database: pool1965_wrdp1 — CREATE DATABASE pool1965_wrdp1 DEFAULT
   CHARACTER SET utf8 COLLATE utf8_unicode_ci;
 * MySQL said: Documentation
    #1007 – Can’t create database ‘pool1965_wrdp1’; database
   exists
 * ——————-
 * I’ve since asked the web hosting company to restore their backup. They’ve done
   so, but I’m still having the same problems. It’s not a caching issue, as this
   occurs on different computers and in Incognito windows.
 * What could cause the site to fail to display images? Even after restoring a server
   backup from a time weeks prior to the 3.6 upgrade?

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Importing database from PHPmyAdmin export’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [Runtheball](https://wordpress.org/support/users/eisenbart/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/importing-database-from-phpmyadmin-export/#post-4025569)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
