
Create new database in MongoDB
Today we’ll look at how to create a new database in MongoDB. Connect to mongod via the following line, replace your credentials mongo -u ‘username’ -p ‘password’ –authenticationDatabase ‘admin’ If you’re successfully authenticated then you’ll see the following prompt: To…