![]() ![]() Latency statistics for read, writes operations including average time taken for reads, writes Implicit session: session ) // Exclude field1 Once your MongoDB client successfully connects to the MongoDB server, then you will find below output along with other output:Ĭonnecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb So run the mongo.exe file in the bin folder in a cmd window.Ĭ:\downloads\mongodb-win32-x86_64-2012plus-4.2.1\bin>mongo.exe We want to test whether our MongoDB server is running or not and perform some database operations. Now MongoDB server runs on the default port: 27017 ![]() Navigate to the /bin folder in the cmd window and execute the mongod.exe file.Ĭ:\downloads\mongodb-win32-x86_64-2012plus-4.2.1\bin>mongod.exe Let's run the MongoDB server by executing the following command from the cmd window. Note if you do not create such directory then you will get below error in the console output: exception in initAndListen: NonExistentPath: Data directory :\data\db\ not found., terminating ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |