title: Error in Mysqldump command
body: <p>I have a data base named "mig". it has 10 tables. now i want to create a same database in another system so I am using <code>mysqldump</code> command but it shows error.</p>
  
  <p>I entered command as follows :</p>
  
  <pre><code> mysqldump -u root -p root mig &gt;file.sql;
  </code></pre>
  
  <p>This is the error i got :</p>
  
  <blockquote>
    <p>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
        dump -u root -p root mig >file.sql' at line 1</p>
  </blockquote>
  
  <p>I am getting the same error when I use , </p>
  
  <pre><code>mysqldump -u root -proot mig &gt;file.sql;
  </code></pre>
  
  <p>How can i fix this ?</p>