用mongoose连接Mlab
嗨,我试图做一个简单的连接
mongoose.connect('mongodb://JFalcon:john2522@ds119476.mlab.com:19476/hidonshabat', {useMongoClient: true}, function(err){ if(err) { console.log('Some problem with the connection ' +err); } else { console.log('The Mongoose connection is ready'); } })
正如你可以看到这是url! Plaese帮助我