title: Connect to MySQL on AWS from local machine
body: <p>I am trying to set up a dev environment on my local machine that accesses a MySQL DB on AWS, but I keep getting a "Can't connect" message.</p>
  
  <pre><code>mysql_connect('xxx.xxx.xxx.xxx:3306', 'USERNAME', 'PASSWORD');
  </code></pre>
  
  <p>I also commented out the bind-address in the my.cnf file, and granted permissions to the IP address that is connecting.</p>
  
  <p>Anyone ever successfully get this working?</p>