NoSQL-Installation and Use of monodb

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.