Title: Problems with importing, SQL bug
Last modified: August 21, 2016

---

# Problems with importing, SQL bug

 *  [robertallen](https://wordpress.org/support/users/robertallen/)
 * (@robertallen)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/problems-with-importing-sql-bug/)
 * Hi all,
 * I’m trying to import to a new server to move a WordPress site, but I’m getting
   this error. Does anyone know what I can do to fix it?
 * >  There is a chance that you may have found a bug in the SQL parser. Please 
   > examine your query closely, and check that the quotes are correct and not mis-
   > matched. Other possible failure causes may be that you are uploading a file
   > with binary outside of a quoted text area. You can also try your query on the
   > MySQL command line interface. The MySQL server error output below, if there
   > is any, may also help you in diagnosing the problem. If you still have problems
   > or if the parser fails where the command line interface succeeds, please reduce
   > your SQL query input to the single query that causes problems, and submit a
   > bug report with the data chunk in the CUT section below:
   >  —-BEGIN CUT—- eNo1zL0KwjAYhWGh23cV5wJCaFJLIVsooQpffkyqgrtDl2yC3r2p4BkPD6/
   > LOWaDWWHWYBcMFDSU orK2uyPyn3Jhg1GOchjoWjJiEbCLC6vAzTV03yp8fJyZbWM9JW8NjrKXE6VT2o2IZS9oqSbwVl9v
   > YhsWg2elX5y6w39fYg0fng== —-END CUT—- —-BEGIN RAW—-
   > ERROR: C1 C2 LEN: 1 2 11
   >  STR:
   > MySQL: 5.5.33
   >  USR OS, AGENT, VER: Win MOZILLA 5.0 PMA: 4.0.7 PHP VER,OS: 5.2.17
   > Linux LANG: en SQL:
   > —-END RAW—-
   > SQL query:
   > 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 ” at line 1

Viewing 1 replies (of 1 total)

 *  [Overflow](https://wordpress.org/support/users/acrane/)
 * (@acrane)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/problems-with-importing-sql-bug/#post-4224594)
 * I’m going to jump on this post too because I’ve had this problem lately. I’m 
   moved a lot of sites the way you’re doing it and just recently I’ve been getting
   this error.
 * My solution was to go to the servers automatic backups they provide instead of
   exporting from myphpadmin. The support for my hosting swears that there shouldn’t
   be any difference, but obviously there is. Hopefully you have access to these
   backups.

Viewing 1 replies (of 1 total)

The topic ‘Problems with importing, SQL bug’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [sql](https://wordpress.org/support/topic-tag/sql/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Overflow](https://wordpress.org/support/users/acrane/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/problems-with-importing-sql-bug/#post-4224594)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
