title: Importing zipped files in Mysql using command line
body: <p><a href="https://stackoverflow.com/q/11258811/1488173">Importing zipped files in Mysql using CMD</a></p>
  
  <p>What is the right syntax to import sql zipped files into mysql using cmd ?</p>
  
  <p>I am doing the following</p>
  
  <pre><code>xz &lt; backup.sql.gz | mysql -u root test
  </code></pre>
  
  <p>But always getting the following error
  <img src="https://i.stack.imgur.com/CwIli.png" alt="enter image description here"></p>