title: Bizarre MySQL Workbench error on Linux desktop
body: <p>I have an account with a Java PaaS (CloudBees) that hosts their platform off of Amazon EC2 instances. My account comes with access to a MySQL server instance and I am getting a bizarre error that only occurs when I try to log into the MySQL server from a client on my linux (Ubuntu 12.04 desktop) machine, but not my Windows 7 machine.</p>
  
  <p>Here is a screenshot of the error when I try to log in with MySQL Workbench on my Ubuntu machine:</p>
  
  <p><img src="https://i.stack.imgur.com/Z0cB3.png" alt="enter image description here"></p>
  
  <p>It's important to note that I have another MySQL client (Squirrel SQL) installed on this machine, that throw the same exact error when I try to log in to my <code>dl_web</code> account. Squirrel SQL is a pure Java application, and I have tried to check that MySQL Workbench and Squirrel SQL do not share any common dependencies and couldn't find any (but I could be wrong).</p>
  
  <p>However, when I try to log in with a MySQL Workbench instance living on my Windows 7 machine, I can log in just fine.</p>
  
  <p>Given the list of 4 things to check from that error message:</p>
  
  <ol>
  <li>Yes, of course MySQL server is running on the EC2 instance; otherwise CloudBees would be out of business and I wouldn't be able to log in from my Windows 7 machine.</li>
  <li>3306 is the correct port - <em>I verified this with CloudBees support staff</em>.</li>
  <li><strong>Not sure about this one</strong> - perhaps the MySQL server instance is somehow configured to refuse connections from linux clients?!?!</li>
  <li>The password I'm using is correct - I have checked and re-checked and re-re-checked.</li>
  </ol>
  
  <p>So the only 2 theories I have so far are:</p>
  
  <ul>
  <li>The MySQL server instance is somehow configured to refuse connections from Linux clients (<strong>is this even possible?</strong>); or</li>
  <li>The MySQL Workbench and Squirrel SQL instances on my Ubuntu machine are sharing some common dependency that is buggy or misconfigured; this is the more likely of the two scenarios, but I have been unsuccessful pegging down what this dependency is...</li>
  </ul>
  
  <p>Also - <strong>note the exact error message</strong> that I get from both MySQL Workbench and Squirrel SQL:</p>
  
  <blockquote>
    <p>Access denied for user <code>'dl_web'@'%'</code> to database...</p>
  </blockquote>
  
  <p>My user is <code>dl_web</code>...not <code>'dl_web'@'%'</code>!!! Bizarre, right?!</p>
  
  <p>Any ideas? Thanks in advance!</p>