The installation
windows
After the installation is complete, locate the data directory under the installation directory and create a folder named db in the data directory
Open the cmd command line, move the directory to the bin directory under the MongoDB installation directory, and enter the command
mongod --dbpath <dblocations>
mongod --dbpath D:\MongoDB\data\db
Open your browser and enter the address
http://localhost:27017
The following is a success
It looks like you are trying to access MongoDB over HTTP on the native driver port.
Open the service
Go to the bin directory under the installation directory
perform
-> mongod *--dbpath D:\MongoDB\data\db*
-> mongo or mongo --host=127.0.0.1 --port=27017
-> show databases; //If you see the database information, it is successful
Read More:
- How to Solve program install error 0x80070660
- How to Install PSSH in Centos7
- How to install PIL in Python 3
- How to Install MongoDB Community Edition Manually on mac and linux
- How to Use pychar to run tensorflow and virtualenv (How to install tensorflow)
- [Solved] gocad2017 Install error: The installation of MSVC_2010_SP1_x64_32bit has failed.
- How To Install WordPress with LAMP on Ubuntu 16.04
- Debian: How to install MariaDB
- How to Install FFmpeg on Linux
- How to Solve Cython-bbox pip install Error
- How To Install Java with Apt-Get on Ubuntu 16.04
- [Solved] Win10 install Ubuntu error: wslregisterdistribution failed with error: 0x8007019e
- [Solved] fbprophet Install Error: command ‘x86_64-apple-darwin13.4.0-clang‘ failed with exit status 254
- Docker: How to Install Nacos
- How to Sole cmd Install typeScript Error
- [Solved] Install docker under windows10 error: error during connect
- Macos: How to Solve cocoapods Install Error
- Mac: How to Install homebrew, nginx, PHP and MySQL
- How to Solve Oracle 11g Install Stuck 86% error on Linux
- [Solved] K8s Install Error: docker-ce conflicts with 2:docker-1.13.1-208.git7d71120.el7_9.x86_64