Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. 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>
  2.  
  3. 2019-05-19T20:54:55.214-0400 [........................]
  4. [DB_NAME].[collection_name] 0B/4.28MB (0.0%)
  5. 2019-05-19T20:54:55.782-0400 [........................] [DB_NAME].[collection_name] 0B/4.28MB (0.0%)
  6. 2019-05-19T20:54:55.782-0400 Failed: error connecting to db server: no reachable servers
  7. 2019-05-19T20:54:55.782-0400 imported 0 documents
  8.  
  9. 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