What happens when use my_store names a MongoDB database that does not yet exist?
use my_store
The command fails until an administrator creates the database separately.
The existing test database is renamed to my_store.
test
my_store
The shell switches to that database context, and the database is created when data is first stored.
A permanent empty database is immediately written to disk before any collection or document exists.