title: MySQL treats password in script as database
body: <p>I am new to Bash scripting. I want to create a script that logs in to MySQL for me:</p>
  
  <pre><code>PASSWORD="MyPassword"
  
  sudo service mysql start
  
  mysql -u root -p $PASSWORD
  </code></pre>
  
  <p>However, it throws an error telling me that my password (<code>$PASSWORD</code>) is not a database.</p>
  
  <p>Is there any way to do it?</p>
  
  <p>Thanks and sorry if I am asking something RTFM or UTFM.</p>