Title: Error 1064 when Importing using PHPMyAdmin
Last modified: August 21, 2016

---

# Error 1064 when Importing using PHPMyAdmin

 *  [rory16](https://wordpress.org/support/users/rory16/)
 * (@rory16)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-1064-when-importing-using-phpmyadmin/)
 * Hi – I’m getting the message below when I try to import the database that I exported
   using WP Migrate DB. Can you help?
 * ERROR: Unknown Punctuation String @ 5
    STR: /> SQL:  <b>Warning</b>: set_time_limit()[
   [function.set-time-limit](https://wordpress.org/support/topic/error-1064-when-importing-using-phpmyadmin/function.set-time-limit?output_format=md)]:
   Cannot set time limit in safe mode in <b>/var/www/html/wp-system/wp-content/plugins/
   wp-migrate-db/wp-migrate-db.php</b> on line <b>771</b> # WordPress MySQL database
   migration # From [http://stearnswealthmanagement.com](http://stearnswealthmanagement.com)
   to [http://stearnswealthmanagement.com](http://stearnswealthmanagement.com) ##
   Generated: Tuesday 19. November 2013 02:56 UTC # Hostname: localhost # Database:`
   stearnswealthmanagement_com_-_wordpress` # ——————————————————–
 * # ——————————————————–
    # Table: `wp_commentmeta` # ——————————————————–
 * #
    # Delete any existing table `wp_commentmeta` #
 * DROP TABLE IF EXISTS `wp_commentmeta`;
 * SQL query:
 *  <b>Warning</b>: set_time_limit() [[function.set-time-limit](https://wordpress.org/support/topic/error-1064-when-importing-using-phpmyadmin/function.set-time-limit?output_format=md)]:
   Cannot set time limit in safe mode in <b>/var/www/html/wp-system/wp-content/plugins/
   wp-migrate-db/wp-migrate-db.php</b> on line <b>771</b>
    # WordPress MySQL database
   migration # From [http://stearnswealthmanagement.com](http://stearnswealthmanagement.com)
   to [http://stearnswealthmanagement.com](http://stearnswealthmanagement.com) ##
   Generated: Tuesday 19. November 2013 02:56 UTC # Hostname: localhost # Database:`
   stearnswealthmanagement_com_-_wordpress` # ——————————————————– # ——————————————————–#
   Table: `wp_commentmeta` # ——————————————————– # # Delete any existing table `
   wp_commentmeta` # DROP TABLE IF EXISTS `wp_commentmeta`;
 * MySQL said: Documentation
 * #1064 – You have an error in your SQL syntax; check the manual that corresponds
   to your MySQL server version for the right syntax to use near ‘
    <b>Warning</
   b>: set_time_limit() [[func’ at line 1 ](https://wordpress.org/support/topic/error-1064-when-importing-using-phpmyadmin/function.set-time-limit?output_format=md)
 * Thanks!
 * [http://wordpress.org/plugins/wp-migrate-db/](http://wordpress.org/plugins/wp-migrate-db/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Brad Touesnard](https://wordpress.org/support/users/bradt/)
 * (@bradt)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/error-1064-when-importing-using-phpmyadmin/#post-4331406)
 * Currently PHP in safe mode is not supported. Will be fixed in the next release
   though: [https://github.com/bradt/wp-migrate-db/issues/39](https://github.com/bradt/wp-migrate-db/issues/39)

Viewing 1 replies (of 1 total)

The topic ‘Error 1064 when Importing using PHPMyAdmin’ is closed to new replies.

 * ![](https://ps.w.org/wp-migrate-db/assets/icon.svg?rev=2851356)
 * [WP Migrate Lite - Migration Made Easy](https://wordpress.org/plugins/wp-migrate-db/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-migrate-db/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-migrate-db/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-migrate-db/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-migrate-db/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-migrate-db/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Brad Touesnard](https://wordpress.org/support/users/bradt/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/error-1064-when-importing-using-phpmyadmin/#post-4331406)
 * Status: not resolved