Title: Importing from MT to WordPress problems
Last modified: August 18, 2016

---

# Importing from MT to WordPress problems

 *  [HeidiM](https://wordpress.org/support/users/heidim/)
 * (@heidim)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/importing-from-mt-to-wordpress-problems/)
 * I exported some MT entries to a .xt file and attempted to import but got all 
   this:
 * WordPress database error: [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‘
   open’, ‘closed’, ”, ‘sticky-the-beat-has-moved’, ”, ”, ‘1969-12-31 18:59:59′,’
   at line 4]
    INSERT IGNORE INTO pwbeatblog_posts (post_author, post_date, post_date_gmt,
   post_content, post_content_filtered, post_title, post_excerpt, post_status, comment_status,
   ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt,
   post_parent, menu_order, post_mime_type) VALUES (‘2’, ‘1969-12-31 18:59:59’, ‘
   1969-12-31 22:59:59’, ”, ”, ‘STICKY: THE BEAT HAS MOVED\\’, ”, ‘Publish\’, ‘open’,‘
   closed’, ”, ‘sticky-the-beat-has-moved’, ”, ”, ‘1969-12-31 18:59:59’, ‘1969-12-
   31 22:59:59’, ‘0’, ‘0’, ”)
 * WordPress database error: [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”
   at line 3]
    SELECT category_id FROM pwbeatblog_post2cat WHERE post_id =
 * WordPress database error: [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‘
   1)’ at line 2]
    INSERT INTO pwbeatblog_post2cat (post_id, category_id) VALUES(,
   1)
 * I’m pretty helpless with scripts, but is there anything I can do to fix this?

The topic ‘Importing from MT to WordPress problems’ is closed to new replies.

## Tags

 * [Import](https://wordpress.org/support/topic-tag/import/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [HeidiM](https://wordpress.org/support/users/heidim/)
 * Last activity: [20 years, 1 month ago](https://wordpress.org/support/topic/importing-from-mt-to-wordpress-problems/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
