This worked out great mate, thanks!
You are most welcome!
I can use my MONGO_URL without issues, but when I try to put my MONGO OPLOG inline, it doesnât work:
MONGO_OPLOG_URL=mongodb://oplog-reader:password@dsserverid-a0.mlab.com:port,dsserverid-a1.mlab.com:port/local?replicaSet=rs-dsserverid&authSource=admin
So this works:
"scripts": {
"start": "MONGO_URL=mongodb://username:password@dsserverid-a0.mlab.com:port,dsserverid-a1.mlab.com:port/databasename?replicaSet=rs-dsserverid meteor --settings .config/development/settings.json"
}
But this doesnât:
"scripts": {
"start": "MONGO_URL=mongodb://username:password@dsserverid-a0.mlab.com:port,dsserverid-a1.mlab.com:port/databasename?replicaSet=rs-dsserverid MONGO_OPLOG_URL=mongodb://oplog-reader:password@dsserverid-a0.mlab.com:port,dsserverid-a1.mlab.com:port/local?replicaSet=rs-dsserverid&authSource=admin meteor --settings .config/development/settings.json"
}
Why?
So Iâve installed mongodb for server 64 bit since windows would get 64 bit by default, and set mongo url, but it wonât connect.
Should I start up mongodb first since itâs not running in background or anything?
Yes - MongoDB has to be running if youâre using a separate installation.
https://docs.mongodb.com/v3.0/tutorial/getting-started-with-the-mongo-shell/
Is still tricky with windows 10 not that itâs working for me.