how to create a new database mongodb from cli code example Example: how to create database in mongo db command use DATABASE_NAME