Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Cannot get Node.JS app to connect to clearDB in Heroku environment

I've spent a day trying to get my Node.js app (deployed on heroku) to connect to my clearDB database.

Code here if you want to see:

I can see if there are any live connections to the database by logging into

The only way I can get any live connection to register on is to use Sequel Pro locally to make a connection. It wakes up. But using the same exact config (host/url, db name, username, password) in my heroku environment does not successfully create connection.

If I use postman to make a post request designed specifically for testing the database (add a record, then retrieve it), I get the following error: "Error adding color: Error: connect ECONNREFUSED" s gotta be something in my settings.

1 person has
this question