title: How to import a large mysql file using putty from local drive?
body: <p>I need to upload a large mysql file using putty on Centos server. I am using below command lines for importing this file. Here is the code:</p>
  
  <pre><code>mysql -u socialto_newDb -p
  
  use mydatabase; 
  
  mysql&gt;SET autocommit=0 ; source C:/Users/jmd/Downloads/database.sql ; COMMIT ;
  </code></pre>
  
  <p>I am getting the error number 2 and error message is 'Failed to open file' C:/Users/jmd/Downloads/database.sql. Please let me know what is the issue and help me for the same.</p>