title: importing table using mysql console on localhosted WAMP
body: <p>this is what I use in MySQL console (WAMP) (no password, as it is local)</p>
  
  <pre>
  
  mysql&gt; mysql -u root -p dbase &lt; table.sql
  
  </pre>
  
  <p>or this</p>
  
  <pre>
  
  mysql&gt; mysql -u root -p dbase &lt; C:\path\to\table.sql
  
  </pre>
  
  <p>this is what I get:</p>
  
  <pre>
  
  ERROR 1064 (42000): 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 'mysql
   -u root -p dbase &lt; table.sql' at line 1
  
  </pre>
  
  <p>what may cause this problem?</p>