when open the cmd panel, confirm the service of MongoDB has been started
link to the database
>>mongo
get the name of database right now
> db.getName()
display all the database
> show dbs
open one databse
use test_database
>show collections
> exit
leave mongo shell, import the .bson file
>> mongorestore -d test_database C:\Mydata\test.bson
remove the database , in mongo shell:
>db.dropDatabase()