[proxy_fcgi:error] The timeout specified has expired – Apache 2.4
Spent two hours trying to troubleshoot this. [crayon-5e2b3d31124dd434887491/] The fix turns out to be pretty…
Today we’ll look at how to create a new database in MongoDB.
Connect to mongod via the following line, replace your credentials
If you’re successfully authenticated then you’ll see the following prompt:
To create a new database issue the following at this prompt:
This is how you create a new database in MongoDB, if the database doesn’t exist then MongoDB will create the database and switch to it.
At this point, if you issue show databases at the prompt it won’t show the newly created database. You need to insert some data into it for it to stick, do this the following way:
That’s it, you’ve successfully created a new database in MongoDB.