NoSQL-monodb installation use official download monodb: www. mongodb. orgdownloads to download Windows32-bit for example, 32-bit version of MongoDB is suitable for testing and evaluation purposes only, only support less than 2 GB of database. Set environment variables: extract the environment variables to the installation directory, rename them, and change the binfile directory to the system environment.
NoSQL-mondb installation use official download monodb: http://www.mongodb.org/downloads to Download Windows 32-bit as an example, 32-bit version of MongoDB is suitable for testing and evaluation purposes only, only support less than 2 GB of database. Set environment variables: extract the environment variables to the installation directory, rename them, and change the binfile directory to the system environment.
NoSQL-Installation and Use of monodb
Official download monodb: http://www.mongodb.org/downloads
Taking downloading Windows 32-bit as an example, the 32-bit version of MongoDB is suitable for testing and evaluation purposes only and only supports databases smaller than 2 GB.
Set environment variables: extract the environment variables to the installation directory, rename them, and set the binfile directory to the system environment variables.
Create a new data folder. The default value is C: \ data \ db \. It can also be customized. In this example, it is defined as D: \ Program \ mongodb \ data \ db \
Configuration: Call the command line to run the command:
Mongod -- dbpath d: \ program \ mongodb \ data \ db \
Start mongodb
Mongod.exe
Mongodb shell opens a new command line tool
Cmd.exe
Install the mongodb service and start it at startup.
Create a specific directory in the MongoDB log file:
Md D: \ program \ mongodb \ log
The Log Path option of MongoDB is issued at the command prompt to create a configuration file:
Echo logpath = C: \ mongodb \ log \ mongo. log> C: \ mongodb \ mongod. cfg
Install the mongodb Service
C: \ mongodb \ bin \ mongod.exe -- config C: \ mongodb \ mongod. cfg -- install
Start mongodb Service
Net start MongoDB
Stop mongodb Service
Mongod -- remove
Download and install MonfoVUE http://www.cr173.com/soft/53326.html (13.1 M)
Import mysql database
Mongodb Effect