Title: Database import never completes
Last modified: August 30, 2016

---

# Database import never completes

 *  [Murray](https://wordpress.org/support/users/murraytm/)
 * (@murraytm)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/database-import-never-completes/)
 * Using All In One WP Migration 4.13, when I import a wpress file (about 220MB,
   of which only 2MB is the SQL dump), the process hangs at “Restoring Database.”
 * However, if I watch the mysql general log, I can see when all the load is complete.
   When the SQL dump is done loading, I can log back into the WP dashboard and everything
   seems to have been imported successfully.
 * The whole SQL import does take quite some time (over 1-2 minutes), even though
   the dump is relatively small. I’m attempting to restore into a Vagrant box and
   it isn’t very fast. Could there be something timing out that causes AIOWPM to
   fail?
 * [https://wordpress.org/plugins/all-in-one-wp-migration/](https://wordpress.org/plugins/all-in-one-wp-migration/)

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/database-import-never-completes/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/database-import-never-completes/page/2/?output_format=md)

 *  Plugin Author [Pim J. Iliev](https://wordpress.org/support/users/pimjitsawang/)
 * (@pimjitsawang)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/database-import-never-completes/#post-6826804)
 * Hi Murray,
 * I am sorry for the inconvenience.
    Could you edit your wp-config.php file and
   set WP_DEBUG to true? While doing, refresh the frontend and you should see an
   error there. Please copy the error and kindly send it to us at support at servmask.
   com
 * Thank you and best,
    Pim
 *  Thread Starter [Murray](https://wordpress.org/support/users/murraytm/)
 * (@murraytm)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/database-import-never-completes/#post-6826863)
 * I enabled WP_DEBUG and WP_DEBUG_LOG and no error is displayed either on the screen
   or in the log file.
 * I just tried reverting to 4.6 and it does work properly.
 * Also, I’m now testing using WP 4.4. It doesn’t seem to have changed anything 
   where this plugin is concerned.
 *  Plugin Author [Pim J. Iliev](https://wordpress.org/support/users/pimjitsawang/)
 * (@pimjitsawang)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/database-import-never-completes/#post-6826913)
 * Hi Murray,
 * That is very interesting to hear that 4.6 works for you.
    If you do not mind,
   we have a release candidate for you to try out. Please feel free to reach out
   to me at support at servmask.com anytime.
 *  [paulocarrasco](https://wordpress.org/support/users/paulocarrasco/)
 * (@paulocarrasco)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/database-import-never-completes/#post-6826917)
 * Hi there.
 * Got the same problem. Checking the plugin error log, this is what I get:
 * ——————————————–
    [Dec 10 2015 10:16:36] ERROR_HANDLER Number: 2 Message: Invalid
   argument supplied for foreach() File: [CENSOREDPATH]/html/store/wp-content/plugins/
   sitepress-multilingual-cms/embedded/wpml/commons/src/wpml-auto-loader.php Line:
   155 ——————————————– [Dec 10 2015 10:16:36] ERROR_HANDLER Number: 2 Message: is_readable()[
   0function.is-readable0]: open_basedir restriction in effect. File(/dev/urandom)
   is not within the allowed path(s): (/nfs:/tmp:/usr/local:/etc/apache2/gs-bin)
   File: [CENSOREDPATH]/html/store/wp-includes/class-phpass.php Line: 68 ——————————————–[
   Dec 10 2015 10:16:47] ERROR_HANDLER Number: 2 Message: stream_socket_client()[
   0function.stream-socket-client0]: unable to connect to tcp://192.168.1.194:80(
   Connection timed out) File: [CENSOREDPATH]/html/store/wp-content/plugins/all-
   in-one-wp-migration/lib/model/class-ai1wm-streams.php Line: 146 ——————————————–
 *  [demirelemin](https://wordpress.org/support/users/demirelemin/)
 * (@demirelemin)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/database-import-never-completes/#post-6826942)
 * The same problem 🙁
    localhost (127.0.0.1) you’re done but 2 different host “
   Restoring Database.” it does not end
 *  Thread Starter [Murray](https://wordpress.org/support/users/murraytm/)
 * (@murraytm)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/database-import-never-completes/#post-6826943)
 * I can confirm that the release candidate solved the problem for me.
 *  [FiGu](https://wordpress.org/support/users/figu/)
 * (@figu)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/database-import-never-completes/#post-6826944)
 * I’m facing the same problem on my 4.4 install… Where can I get this release candidate?
 *  Plugin Author [Pim J. Iliev](https://wordpress.org/support/users/pimjitsawang/)
 * (@pimjitsawang)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/database-import-never-completes/#post-6826946)
 * Thank you so much, Murray for the update.
 * Best,
    Pim
 *  Plugin Author [Pim J. Iliev](https://wordpress.org/support/users/pimjitsawang/)
 * (@pimjitsawang)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/database-import-never-completes/#post-6826947)
 * Hi paulocarrasco, demirelemin and FiGu,
 * Could you please reach out to me at support at servmask.com?
 * Thank you!
 *  [FiGu](https://wordpress.org/support/users/figu/)
 * (@figu)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/database-import-never-completes/#post-6826948)
 * Hi again and thanks for the quick reply!
 * The solution for me, was to open control panel in another tab. I was prompted
   with a message saying that my database needed an update.
 * I clicked the button, and everything worked just fine! 🙂
 * Thanks for a great plugin!
 * FiGu
 *  Plugin Author [Pim J. Iliev](https://wordpress.org/support/users/pimjitsawang/)
 * (@pimjitsawang)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/database-import-never-completes/#post-6826954)
 * Thank you for the update, FiGu.
    I am glad your site has been migrated successfully!
 *  [step8601](https://wordpress.org/support/users/step8601/)
 * (@step8601)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/database-import-never-completes/#post-6826980)
 * where can i get the release candidate?
 * stuck here too
 * thanks
 *  Plugin Author [Pim J. Iliev](https://wordpress.org/support/users/pimjitsawang/)
 * (@pimjitsawang)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/database-import-never-completes/#post-6826983)
 * Hi step8601,
 * Please send me an email to support at servmask.com
 * Thank you so much!
 *  [JoyR](https://wordpress.org/support/users/joyr/)
 * (@joyr)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/database-import-never-completes/#post-6826992)
 * I have the same problem with the ‘restoring database’ not ending and the ‘stop
   import’ not working. The database appears in php-MyAdmin in the control panel
   but I get ‘Server error’ when trying to log in to the site and the only thing
   I can seem to do is delete WordPress and start again.
 * The import is from a site running locally on Wamp, to a live Linux webserver.
   The php version on the server is lower than on Wamp.
 * Any suggestions please?
 * Many thanks.
 *  [rajib.greenlife](https://wordpress.org/support/users/rajibgreenlife/)
 * (@rajibgreenlife)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/database-import-never-completes/#post-6827014)
 * Hello,
    I enabled WP_DEBUG in wp-config its pop up this message Fatal error: 
   Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) 
   in /hermes/bosnaweb11a/b2384/ipg.durlobhcom/wp-includes/meta.php on line 840
 * what i have to do..plz help

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/database-import-never-completes/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/database-import-never-completes/page/2/?output_format=md)

The topic ‘Database import never completes’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-migration/assets/icon-256x256.png?rev=2458334)
 * [All-in-One WP Migration and Backup](https://wordpress.org/plugins/all-in-one-wp-migration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-migration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-migration/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-migration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-migration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-migration/reviews/)

 * 19 replies
 * 8 participants
 * Last reply from: [Pim J. Iliev](https://wordpress.org/support/users/pimjitsawang/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/database-import-never-completes/page/2/#post-6827066)
 * Status: not resolved