title: Terminal mysql -v gives Access Denied Error 1045 (28000)
body: <p>When I try to check the mysql version using terminal I get the following error.</p>
  
  <pre><code>KillBill:~ KillBill$ mysql -v
  ERROR 1045 (28000): Access denied for user 'KillBill'@'localhost' (using password: NO)
  </code></pre>
  
  <p>but when I do the following and add the password it works and logs me into MYSQL prompt.</p>
  
  <pre><code>KillBill:~ KillBill$ mysql -u root -p
  </code></pre>
  
  <p>Why am I getting the following error on mysql -v prompt only. What do I do to fix it? Everything else is working fine, I can connect to mysql db in the apps I am developing no problem whatsoever.</p>
  
  <p>Any help will be highly appreciated. Thank you!</p>