Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

Error While trying to restore database

0 votes
870 views
asked Oct 9, 2013 in Q2A Core by Alvaro A Fernandez

Help!, I followed the procedure listed here to export a zip file using phpmyadmin. Now I'm trying to get this file imported into another server, but I keep getting this error below, what should I do?
 

Error

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----
eNodzDsOAiEUheHC7q7iLIAQhocFHSFkpuAljLoCi2noTHT3MnYnJ1/+0FppFn6Bl4ghWyhoGLlQ
3+d/IUrffosWhhuuJN17Q+kMbg15Z3iEiZ7HgN9aSWEqwZWgmpyFnvtKdaunYqWfDc2lQDzG+0PR
5dXiNeif/wFUXh/8
----END CUT----
----BEGIN RAW----

ERROR: C1 C2 LEN: 3 4 521
STR: 

MySQL: 5.5.32
USR OS, AGENT, VER: Win CHROME 5.0.30
PMA: 4.0.6
PHP VER,OS: 5.4.20 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 'PK' at line 1 

Q2A version: 1.6.2

1 Answer

+2 votes
answered Oct 10, 2013 by sama55
selected Oct 10, 2013 by Alvaro A Fernandez
commented Oct 10, 2013 by Alvaro A Fernandez
thanks, it worked!
...