How to remove existing content before entering a replicaset the first time?
mongodb worries about:
... has data already, cannot initiate set. All members except initiator must be empty.
|
How to remove existing content before entering a replicaset the first time? mongodb worries about:
|
|||
|
|
|
If you need to see what databases you have, you can do Update: Here's a script to delete everything, make sure you really want to do this:
|
||||
|
|