How to export mlab database to meteor application -


i have created mlab database. unable export meteor application.everytime try connect, throws error "mongoerror: failed connect server [ds035693.mlab.com:35693] on first connect".command using

"export mongo_url= mongodb://<dbuser>:<dbpassword>@ds035693.mlab.com:35693/abcd"

i think don't need " " around export. put in terminal

export mongo_url= mongodb://<dbuser>:<dbpassword>@ds035693.mlab.com:35693/abcd 

replace id , password.

and console.log(process.env); in startup function check if mongo_url set or not. if set. may network issue.

you may forgot add database user in user tab collection in mlab.

hope help


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -