Title: Error Importing Database Locally
Last modified: August 21, 2016

---

# Error Importing Database Locally

 *  Resolved [missyklotz](https://wordpress.org/support/users/missyklotz/)
 * (@missyklotz)
 * [12 years ago](https://wordpress.org/support/topic/error-importing-database-locally/)
 * I’m trying to import the database from my live site with updraft enabled to my
   local site to use for testing.
 * In phpMyAdmin I’ve tried to import the db.gz file and I get the following error:
 * Error
    MySQL said: Documentation
 * #2006 – MySQL server has gone away
 * Please help.
 * [https://wordpress.org/plugins/updraftplus/](https://wordpress.org/plugins/updraftplus/)

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

 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [12 years ago](https://wordpress.org/support/topic/error-importing-database-locally/#post-4896008)
 * Hi,
 * We’ve not got the resources to provide support for phpMyAdmin, so I’ll just reply
   the once and hope that’s OK; your MySQL server has crashed, and the cause is 
   almost certainly that you need to increase the max_packet_size setting in its
   configuration (as your database backup has a row too large for the current setting).
 * David
 *  Thread Starter [missyklotz](https://wordpress.org/support/users/missyklotz/)
 * (@missyklotz)
 * [12 years ago](https://wordpress.org/support/topic/error-importing-database-locally/#post-4896071)
 * Thank you! I didn’t realize this was a phpMyAdmin question, I thought maybe it
   had something to do with the backup generated by the plugin.
 * Thank you so much, problem has been fixed.

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

The topic ‘Error Importing Database Locally’ is closed to new replies.

 * ![](https://ps.w.org/updraftplus/assets/icon-256x256.jpg?rev=1686200)
 * [UpdraftPlus: WP Backup & Migration Plugin](https://wordpress.org/plugins/updraftplus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/updraftplus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/updraftplus/)
 * [Active Topics](https://wordpress.org/support/plugin/updraftplus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/updraftplus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/updraftplus/reviews/)

## Tags

 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)
 * [phpmyadmin](https://wordpress.org/support/topic-tag/phpmyadmin/)

 * 2 replies
 * 2 participants
 * Last reply from: [missyklotz](https://wordpress.org/support/users/missyklotz/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/error-importing-database-locally/#post-4896071)
 * Status: resolved