Title: runtime error during export
Last modified: August 9, 2023

---

# runtime error during export

 *  Resolved [dareko](https://wordpress.org/support/users/dareko/)
 * (@dareko)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/runtime-error-during-export/)
 * Hi,
 * I was using your nice plugin for long time without any problems. I recently migrated
   my database to SQL 8 (pressing from provider) and the are some new troubles regarding
   export with your plugin.
 * I can observe export progress to 9-10% and then message: Runtime Error.
 * For investigation purposes I created very simple environment and the issue can
   be repeatedly observed. The last line of the log file is:
   Logged export event
   for blog ID 1 from Codexonics\PrimeMoverFramework\classes\PrimeMoverSystemProcessors::
   primeMoverExportProcessor method: Export result error found:Connection to mysql
   failed with message: SQLSTATE[HY000] [2002] Connection refused
 * Can you advise me how to solve this? 
   Changes in wordpress settings, the database
   or the server?
 * Thank you in advance.
 * Darek
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fruntime-error-during-export%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Codexonics](https://wordpress.org/support/users/codexonics/)
 * (@codexonics)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/runtime-error-during-export/#post-16959071)
 * Hi Dareko,
 *  Thank you for using Prime Mover! First, some quick troubleshooting are as follows
   before you do the export:
    - Does the site front end and back end fully works without any database or SQL
      errors? Usually if the site is broken due to SQL errors then this must be 
      fixed first before exporting the site.
    - Does your new SQL 8 configuration allows PDO connection to third party app(
      e.g. plugins)? You can [test this by writing a simple connection code using PDO](https://www.hostinger.ph/tutorials/how-to-connect-php-to-mysql#h-using-pdo-to-connect-a-php-script-to-mysql).
      If you cannot connect it, it is why you get connection refused error. You 
      might need to check this with your host on how to connect to your dB.
 * If the above troubleshooting does not able to pinpoint the issue. We are interested
   in knowing more about this problem and how this happens.
 * In this case – we would like to take a deeper look in your simple environment
   in order to reproduce this issue. Please open an official ticket to our [technical support here](https://codexonics.com/contact/).
   Once we received the ticket – we will request some server logs or migration logs
   that will pinpoint the issue. For security reasons – these server logs cannot
   be post in public forum.
 * So I’m closing this one and we will continue the discussion on our official tech
   support panel. Thank you!

Viewing 1 replies (of 1 total)

The topic ‘runtime error during export’ is closed to new replies.

 * ![](https://ps.w.org/prime-mover/assets/icon-256x256.png?rev=2114612)
 * [Prime Mover - Migrate WordPress Website & Backups](https://wordpress.org/plugins/prime-mover/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/prime-mover/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/prime-mover/)
 * [Active Topics](https://wordpress.org/support/plugin/prime-mover/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/prime-mover/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/prime-mover/reviews/)

## Tags

 * [export](https://wordpress.org/support/topic-tag/export/)
 * [runtime error](https://wordpress.org/support/topic-tag/runtime-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [Codexonics](https://wordpress.org/support/users/codexonics/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/runtime-error-during-export/#post-16959071)
 * Status: resolved