Title: Error in postmeta table import
Last modified: August 20, 2016

---

# Error in postmeta table import

 *  [simplybudgeted](https://wordpress.org/support/users/simplybudgeted/)
 * (@simplybudgeted)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/error-in-postmeta-table-import/)
 * I am trying to move hosts and am having issues. The issue has been narrowed down
   to the postmeta table. It exports but won’t import. I get this error after the
   file uploads for import:
 * > SQL query:
   > <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “[http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt](http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt);
   > <html xmlns=”[http://www.w3.org/1999/xhtml&#8221](http://www.w3.org/1999/xhtml&#8221);
   > xml:lang=”en” lang=”en” dir=”ltr”> <head> <meta http-equiv=”Content-Type” content
   > =”text/html; charset=utf-8″ /> <link rel=”icon” href=”./favicon.ico” type=”
   > image/x-icon” /> <link rel=”shortcut icon” href=”./favicon.ico” type=”image/
   > x-icon” /> <title>phpMyAdmin</title> <link rel=”stylesheet” type=”text/css”
   > href=”phpmyadmin.css.php?server=1&token=971bd50d889ab64d3d7c109e67c54eed&js_frame
   > =right&nocache=5348425955″ /> <link rel=”stylesheet” type=”text/css” href=”
   > print.css” media=”print” /> <link rel=”stylesheet” type=”text/css” href=”./
   > themes/pmahomme/jquery/jquery-ui-1.8.custom.css” /> <meta name=”robots” content
   > =”noindex,nofollow” /> <script src=”./js/cross_framing_protection.js?ts=1332953438″
   > type=”text/javascript”></script> <script src=”./js/jquery/jquery-1.4.4.js?ts
   > =1332953[…]
   > MySQL said:
   > #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 ‘<!DOCTYPE html
   > PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”
   >  “[http://www.w&#8217](http://www.w&#8217);
   > at line 1
 * I have no idea here. Anyone have any ideas?? My site is pretty much down right
   now because of this one table.

The topic ‘Error in postmeta table import’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [simplybudgeted](https://wordpress.org/support/users/simplybudgeted/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/error-in-postmeta-table-import/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
