I have created my second replication set, I added it to the shard, but when I go to drop the database I get an error.
My question is whether this is done from the mongos terminal. I have tried to run it while logged into mongos, but of course that doesn’t work. I exited the shell program and tried to import it but I get the following:
"error validating settings: only one positional argument is allowed:
This is what I am typing from the vagrant prompt.
mongoimport --drop /dataset/products.json --port 26000 -u “m103-admin” \ -p “m103-pass” --authenticationDatabase “admin” \ --db m103 --collection products
I have double and triple checked my syntax and it appears to be right. (although the \ character seems to be in a different place than the last import statement)