Chapter 2: The MongoDB Query Language + Atlas Creating Documents: insertOne() [Solved]


Unable to connect to MongoDB compass from command prompt.
Did ping to server and I am getting response
Please advise
If i need to upgrade mongodb version how to do that please provide the steps
currently i am in below version
MongoDB shell version v4.0.4
connecting to: mongodb://
Implicit session: session { “id” : UUID(“7318fea6-3de1-4ea1-b32d-2d397be5198c”) }
MongoDB server version: 4.0.4
Server has startup warnings:
2018-12-10T09:48:07.792+0530 I CONTROL [initandlisten]
2018-12-10T09:48:07.792+0530 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2018-12-10T09:48:07.793+0530 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
2018-12-10T09:48:07.793+0530 I CONTROL [initandlisten]

Able to figure out the issue. Please ignore