title: Able to Ping Remote Server, Yet Unable to Connect
body: <p>I'm able to ping the remote server I am attempting to connect to successfully. However, when running the MySQL command:</p>
  
  <pre><code>mysql -u monty -h website.com -p
  </code></pre>
  
  <p>I receive the following error:</p>
  
  <pre><code>ERROR 2003 (HY000): Can't connect to MySQL server on 'website.com' (111)
  </code></pre>
  
  <p>I've followed the instructions found <a href="http://dev.mysql.com/doc/refman/5.5/en/adding-users.html" rel="nofollow">here</a> that show how to create a user with necessary privileges: </p>
  
  <pre><code>mysql&gt; CREATE USER 'monty'@'localhost' IDENTIFIED BY 'some_pass';
  mysql&gt; GRANT ALL PRIVILEGES ON *.* TO 'monty'@'localhost'
  -&gt;     WITH GRANT OPTION;
  mysql&gt; CREATE USER 'monty'@'%' IDENTIFIED BY 'some_pass';
  mysql&gt; GRANT ALL PRIVILEGES ON *.* TO 'monty'@'%'
  -&gt;     WITH GRANT OPTION;
  </code></pre>
  
  <p>I've also commented out the following line in /etc/mysql/my.cnf</p>
  
  <pre><code># bind-address      = 127.0.0.1
  </code></pre>
  
  <p>Even so, I'm still unable to connect remotely. Is there something I'm missing here? Thanks again all.</p>