Forums / Installing on a Linux/Unix Server / Got error #1064 when import sql

Got error #1064 when import sql

Results 1 to 2 of 2
01 Jun 2011, 16:28
#1
sansan0831 avatar

sansan0831

New Zenner

Join Date:
Sep 2010
Posts:
12
Plugin Contributions:
0

Got error #1064 when import sql

I want to move my zencart to another web hosting. Got an error when I import my sql. Is there anyone can help? Thanks a lot.


[PHP]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----
eNpzDQryD7JScDZUcDZS8HH1s1IwUTBVMDQx4QoOAYpLcXEFhwEFVTxTVLh8K4MDfawUTPUM9CyN
dJPzc3NL8zJLKnVz8tO5QoODFPyDdRQc3V39QnQUwlyBmsMz8xQ8XRUs9Ay4AnwdrRSM9Yz1LPWM
uAI8AkAKdPyDQYYZ6Vkq+GTmlVZw+Tj6uVsppObplpak6VpwgS0LSixSlGJnOD+hmIGBiwECjl8t
OdBkwWD+modh5VYpRibuJ8G6rGX71dJLrGWNJRgUgEpyMpNT85JTk+OrgFRiUYlecWEOA+MBIcGD
E3nOCgYGiF6t3vRHy1h7Yex7kXPtZh/XzjrlsY4zJkrVZ22o6ebQFg+XTrWcEmvGjCahySBzmedJ
brtn+nbj+sVWxstuS+fmzpVe+3z64yyuWTNdhD8fYfBh4Jo5N2519KtVph6LOgqZWKwB5vhs1Q==
----END CUT----
----BEGIN RAW----

ERROR: C1 C2 LEN: 4 5 144
STR:

SVN: $Id$
MySQL: 5.0.92-community-log
USR OS, AGENT, VER: Win IE 8.0
PMA: 3.3.9.2
PHP VER,OS: 5.2.9 Linux
LANG: en-utf-8
SQL: Rar!ϐs
��t��87����S-v�>3 licencec_zencart.sql����QP�{��*3+�]�·6����H� \Z%L�U5�U�HD�<h��>���5����:3��mm�����j
��D��L
��^�[��5H��q;----END RAW----


SQL query:

Rar!ϐs ��t��87� �� �S-v�>3 licencec_zencart.sql��� �QP�{��*3+�]�·6����H� \Z%L�U5�U�HD�<h��>���5����:3��mm�����j ��D��L ��^�[��5H��q;

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 'Rar!' at line 1

[/PHP]
03 Jun 2011, 15:37
#2
jonnyboy22 avatar

jonnyboy22

Zen Follower

Join Date:
Jun 2008
Posts:
165
Plugin Contributions:
1

Re: Got error #1064 when import sql

did you download the sql file as a rar or plain text?


try it again but not zipped. Also what company are you with, version of zencart? are they both the same versions of zencart? etc


might help
https://www.zen-cart.com/tutorials/index.php?article=100