title: Mysql import database
body: <p>I am new to mysql.I got a .sql file which I needed to import,so I searched online and got the below command.It worked perfectly.</p>
  
  <pre><code>C:\Program Files\MySQL\MySQL Server 5.6\bin&gt;mysql -u root -p test3 &lt; test3.sql
  </code></pre>
  
  <p>But when I said use test3 from mysql command line client,it gave me this error :  </p>
  
  <blockquote>
    <p>ERROR 1049 (42000): Unknown database 'test3'</p>
  </blockquote>
  
  <p>Am I missing some step?</p>