Use the use <database-name>
helper in the interactive
:program:`mongo` shell, or the following :method:`db.getSiblingDB()`
in the interactive shell or in :program:`mongo` shell scripts to
change the db
object:
db = db.getSiblingDB('<database-name>')