title: MySql: "Accessed denied for user 'root'@'<remote-ip> (using password: YES)" from my Laptop, BUT NOT my coworkers?
body: <p>I set up a VM (RHEL6) in our company's private cloud, and installed MySQL.</p>
  
  <p>I opened up remote connections like the following so my coworkers and I could connect to it:</p>
  
  <pre><code>GRANT ALL PRIVILEGES ON `dbname`.* TO 'root'@'%';
  FLUSH PRIVILEGES;
  </code></pre>
  
  <p>Here is the result from <code>SHOW GRANTS FOR 'root'@'%';</code></p>
  
  <pre><code>| GRANT ALL PRIVILEGES ON `dbname`.* TO 'root'@'%' |
  </code></pre>
  
  <p>1) My coworker can connect to it from the mysql client on his laptop via</p>
  
  <pre><code>mysql -h &lt;hostname&gt; -u root -p dbname
  </code></pre>
  
  <p>2) I can create a separate VM and connect to the original VM using the same syntax.</p>
  
  <p>However, on my laptop, I can not connect to it. I receive the following error:</p>
  
  <pre><code>ERROR 1045 (28000): Access denied for user 'root'@'&lt;my-ip&gt;' (using passwo
  rd: YES)
  </code></pre>
  
  <p>I've even specifically opened it for my IP using <code>GRANT ALL PRIVILEGES ON</code>dbname<code>.* TO 'root'@'&lt;my-ip&gt;'; FLUSH PRIVILEGES;</code>, which of course shouldn't be necessary, but it didn't work.</p>
  
  <p>I have restarted the MySQL server (which wasn't necessary for my coworkers).</p>
  
  <p>Any idea what could be causing this?</p>