title: Deployed database has no connections
body: <p>I have deployed an application to heroku: <a href="https://stark-citadel-91743.herokuapp.com/" rel="nofollow noreferrer">https://stark-citadel-91743.herokuapp.com/</a></p>
  
  <p>The app initially loads properly until you click a button that requires the database.  Then it crashes.  </p>
  
  <p>Everything works in local development environment.  I believe I have properly set up all connection settings for production in heroku dashboard's config variables (database url, database name, username, password).  But in production it doesn't work.  </p>
  
  <p>Two evidences that it's not set up right:
  1) When I log into the ClearDB MySQL plugin (in my heroku dashboard) under 'current connections' it says, 'No connections are currently established to the database.'
  2) When I use postman to hit a custom endpoint I made just for testing a request to the database, I get: "Error adding color: Error: connect ECONNREFUSED 127.0.0.1:3306"  &lt;-- that 127.0.0.1 seems enlightening.  Why would a deployed db have a connection on that address?  </p>
  
  <p>Any clues? Thank you!</p>