title: SQL Error 1064 - Import Error
body: <p>I exported a database as a backup that was working fine. When I imported the database to the same exact server, folder, etc. I got this error:</p>
  
  <blockquote>
    <p>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---- eNo1jUEKwjAURIXu/inmADHkpwYxu1JCu0iTmFQ9gYtushP09qaCs3oMjxmXc8wWI2PU8C5YMDSY
    qayt7oiWT7l6CyON7NWxV5LpVjJiERgmF1aBu2vmY6sY5xwX11Ql9YXSMlicGhtKc9otEcs+1Es+
    w2/19SY/hMniWen3Qd3hny8nMiDI
    ----END CUT----
    ----BEGIN RAW---- ERROR: C1 C2 LEN: 1 2 11 STR: </p>
    
    <p>MySQL: 5.5.30-30.1 USR OS, AGENT, VER: Win CHROME 5.0.29 PMA: 4.0.5
    PHP VER,OS: 5.3.17 Linux LANG: en SQL:<br>
    ----END RAW----</p>
    
    <p>SQL query:</p>
    
    <p>MySQL said: Documentation</p>
    
    <p>#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</p>
  </blockquote>
  
  <p>The only problem seems to be that my index page is missing content, the main content actually. All of these files are .sql.</p>
  
  <p>I then dropped all my tables and imported the original database from April of last year. Obviously, this database is missing all the account info, order info, etc. for all my customers as well as all the changes that have been made to my products.</p>
  
  <p>When I compare the two databases the first 11 lines seem to be the problem but I don't know how to fix it. The first 11 lines of the file that DO NOT WORK are:</p>
  
  <pre><code>-- phpMyAdmin SQL Dump
  -- version 4.0.5
  -- http://www.phpmyadmin.net
  --
  -- Host: localhost
  -- Generation Time: Sep 22, 2013 at 01:28 PM
  -- Server version: 5.5.30-30.1
  -- PHP Version: 5.3.17
  
  SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  SET time_zone = "+00:00";
  </code></pre>
  
  <p>The first 11 lines of the file that DOES WORK are:</p>
  
  <pre><code>-- phpMyAdmin SQL Dump
  -- version 3.4.10.1
  -- http://www.phpmyadmin.net
  --
  -- Host: localhost
  -- Generation Time: Apr 09, 2012 at 05:50 AM
  -- Server version: 5.1.61
  -- PHP Version: 5.2.17
  
  SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
  SET time_zone = "+00:00";
  </code></pre>
  
  <p>I hve tried to simply copy and paste the 11 lines from the working file to the file that does not work and get another error.</p>
  
  <p>I know this is a long post and I apologize but I have been struggling with this for hours and really need some help.</p>
  
  <p>Thanks</p>