Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mongoimport --host mongodb+srv://<USER>:<PASS>@cluster0-<*****>mongodb.net/test?retryWrites=true --ssl -u <USER> -p '<PASS>' --authenticationDatabase admin --db <DB_NAME> --collection <COLLECTION_NAME> --drop --file < FULL PATH TO LOCAL JSON FILE>
- 2019-05-19T20:54:55.214-0400 [........................]
- [DB_NAME].[collection_name] 0B/4.28MB (0.0%)
- 2019-05-19T20:54:55.782-0400 [........................] [DB_NAME].[collection_name] 0B/4.28MB (0.0%)
- 2019-05-19T20:54:55.782-0400 Failed: error connecting to db server: no reachable servers
- 2019-05-19T20:54:55.782-0400 imported 0 documents
- Cannot reach any nodes for set Cluster0-shard-0. Please check network connectivity and the status of the set. This has happened for 21 checks in a row.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement