title: Running sql scripts in MySQL workbench
body: <p>I am trying to run a .sql in MySQL workbench. For this, I choose: <code>File -&gt; Run SQL script</code> option and finally provided the sql file name, in my case it is: <code>sql_script.sql</code></p>
  
  <p>However, when I run this, I got below message:</p>
  
  <pre><code>Preparing...
  Importing sql_script.sql...
  Finished executing script
  ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
  </code></pre>
  
  <p>As per this error message, it seems that it is expects to pass the credentials. I am not sure how to do this if my interpretation of this error message is correct.</p>
  
  <p>Any information how to past this issue?</p>