title: How can I load a mysqldump .sql file to a MySQL database in Windows Vista
body: <p>I'm trying to move a MySQL database from a Linux machine to one running Windows Vista. </p>
  
  <p>Using mysqldump, I've obtained a <code>.sql</code> file, which I have moved to the Windows machine.  Whats next?</p>
  
  <p>If I were moving to another Linux machine, one could do this sort of thing:</p>
  
  <pre><code>mysql -u username -p databasename &lt; dumpfile.sql
  </code></pre>
  
  <p>Does anyone know of an analogous invocation that works from the Windows command line?  Or are there tools to accomplish this?</p>
  
  <p>When I try this type of command from the Windows command line, I get:</p>
  
  <pre><code>'mysql' is not recognized as an internal or external command
  </code></pre>
  
  <p>I've also tried:</p>
  
  <pre><code>mysql&gt;  source C:\Stuff\dumpfile.sql
  </code></pre>
  
  <p>That gave:</p>
  
  <pre><code>Failed to open file 'C:\Stuff\dumpfile.sql', error: 2
  </code></pre>