title: Can't connect Ruby on Rails to remote mysql database
body: <p>I'm trying to connect my rails 3 app to a mysql database hosted on a godaddy server. I am able to connect remotely using a mysql client, but not when I run the applicaton. I was able to connect on a local mysql, but when I try to connect to my remotely hosted database I get this error:</p>
  
  <blockquote>
    <p>Mysql2::Error (Can't connect to MySQL server on '[host ip address]'
    (111))</p>
  </blockquote>
  
  <p>Here is my database.yml</p>
  
  <pre><code>development:
      adapter: mysql2
      encoding: utf8
      host: host_ip_address
      port: 3306
      database: database_name
      username: user_name
      password: password
  </code></pre>
  
  <p>I'm developing my application on an Ubuntu machine if that helps.</p>