title: How to run SQL script in MySQL?
body: <p>I want to execute a text file containing SQL queries, in MySQL.</p>
  
  <p>I tried to run <code>source /Desktop/test.sql</code> and received the error: </p>
  
  <blockquote>
    <p>mysql> . \home\sivakumar\Desktop\test.sql ERROR: Failed to open file
    '\home\sivakumar\Desktop\test.sql', error: 2</p>
  </blockquote>
  
  <p>Any idea on what I am doing wrong?</p>