title: mysql client connection hostname question
body: <p>Have a question that I can't seem to find an answer for.  I am trying to connect to a remote database.  I type in the following to my Ubuntu shell:</p>
  
  <pre><code>mysql -u test -h mysql.domain.com -p
  </code></pre>
  
  <p>mysql asks for my password and then outputs the following:</p>
  
  <pre><code>ERROR 1045 (28000): Access denied for user 'test'@'externalit.domain.com' (using password: YES)
  </code></pre>
  
  <p>The problem is that I am not on externalit.  I am on a completely different host.  I think that the server I am on was cloned from externalit, but I didn't set the server up.  My question: does mysql have a conf file or other setting that may be automatically entering an incorrect hostname?  Can I change this?</p>