Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2010
    Posts
    12
    Plugin Contributions
    0

    Default 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 Code:
    There is a chance that you may have found a bug in the SQL parserPlease examine your query closely, and check that the quotes are correct and not mis-matchedOther possible failure causes may be that you are uploading a file with binary outside of a quoted text areaYou can also try your query on the MySQL command line interface. The MySQL server error output below, if there is anymay also help you in diagnosing the problem. If you still have problems or if the parser fails where the command line interface succeedsplease 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----

    ERRORC1 C2 LEN4 5 144
    STR


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


    SQL query

    Rar!&#976;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 

  2. #2
    Join Date
    Jun 2008
    Location
    Sheffield South Yorkshire
    Posts
    165
    Plugin Contributions
    1

    Default 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/i...hp?article=100

 

 

Similar Threads

  1. 1064 SQL Syntax error when upgrading database from 1.3.8 to 1.3.9
    By pioupioun in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 23 Aug 2010, 06:26 AM
  2. Replies: 2
    Last Post: 4 Jun 2010, 07:01 AM
  3. Replies: 2
    Last Post: 16 Sep 2009, 06:15 PM
  4. Replies: 7
    Last Post: 23 Jul 2009, 06:53 AM
  5. Replies: 2
    Last Post: 3 Jul 2007, 06:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg