title: Push Rails / ClearDB App to Heroku Error 'Can't connect to MySQL server on '127.0.0.1'
body: <p>Every time I run:</p>
  
  <pre><code>git push heroku master
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>Running: rake assets:precompile
  rake aborted!
  Can't connect to MySQL server on '127.0.0.1'
  </code></pre>
  
  <p>I am running </p>
  
  <pre><code>rails -v Rails 3.2.11
  </code></pre>
  
  <p>and</p>
  
  <pre><code>ruby -v
  ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin12.2.0]
  </code></pre>
  
  <p>I have installed ClearDB via Heroku CLI and it seems to work fine, but I can't figure out this error.</p>
  
  <p>Here is my yml for production:</p>
  
  <pre><code>production:
    adapter: mysql2
    encoding: utf8
    host: localhost
    database: pm_production
    username: root
    password: root
    allow_concurrency: true
    pool: 5
  </code></pre>