title: Mysql command returns no errors and doesn't import the sql file. Why?
body: <p>I'm executing on a Centos Linux server this command:</p>
  
  <pre><code>mysql -u root -p mydatabase &lt; dump.sql
  </code></pre>
  
  <p>I enter the password. It seems that all is ok because I absolutely get no errors, no messages that something happened. But sadly, the file is not imported!</p>
  
  <p>Tryed in different ways:
  -Putting the sql file in another location. 
  -Creating the DB first and than without the DB. 
  -Avoiding the dbname
  -Adding max_allowed_packet=800M in /etc/my.cnf (because the file is 490mb)
  -Restarted Mysql. But nothing to do. No errors, no import. I'm stuck and in panic. What to do? ?</p>