Physical Address

304 North Cardinal St.
Dorchester Center, MA 02124

Tag create database

Create new database in MongoDB

MongoDB Logo

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…