Closed deborah-ufw closed 7 years ago
@deborah-ufw You need to break down your remote mongodb url
into individual parameters, so even though you didn't write your password in the sample above, I can still see it in the url. (Don't worry, I edited it to hide it).
It should be this:
local:
db: 'local_db_name'
host:
port: 27017
remote:
db: 'heroku_6l0rt5bm'
host:
url: 'ds059155.mlab.com'
port: 59155
access:
username: 'heroku_6l0rt5bm'
password: 'mysupersecurepassword'
Thank you!!!
Hello,
I have free Mongo DB plugin mLabs on my Heroku instance with very light data (don't want to upgrade to paid Mongo DB from Mongo HQ).
I set up my config as follows, double-checking all the values were correct:
But running
./mongo-sync push
failed with error "Incorrect input, aborting..."Have I accidentally left something out or done something funky, or is it possible to use the script for my case?