Mongoose and MongoHQ

why mongoose doesn't connect to MongoHQ I am using the given URL

mongoose.connect('mongodb://' + user + ':' + pass + '@' + host + ':' + port + '/' + name)

it doesn't report any errors but nothing changes on database

If you want it to report errors, you have to handle the error situation.

mongoose.connect('mongodb://' + user + ':' + pass + '@' + host + ':' + port + '/' + name', function(err) {
    if (err) throw err;
});