title: mysql access denied, ssh database host
body: <p>i am trying to access mysql into an remote server, and create a database there.
  i am using putty to connect. the problem is that i get the "access denied" error
  whatever i do:</p>
  
  <pre><code>:mysql -p
  :mysql -u &lt;username&gt; -p
  .
  .
  .
  </code></pre>
  
  <p>i still get the warning.</p>
  
  <blockquote>
    <p>ERROR 1045 (28000): Access denied for user 'username'@'localhost' (using password: NO)</p>
    
    <p>ERROR 1045 (28000): Access denied for user 'username'@'localhost' (using password: YES)</p>
  </blockquote>
  
  <p>one for each occasion, when i do not enter a password, and when i do.</p>