简体   繁体   中英

How can I fix this issue accessing Mongodb

Every time I try to initialize MongoDb by typing mongo it shows me this error of “not recognized as internal or external command” As most people would suggest to this question, I have set the environment variables as suggested, error pic yet still not working. How can I fix it?

The program mongo was superseded by mongosh as of June 2020.

For Windows operating systems, there are two methods of installing the MongoDB Shell (mongosh). I recommend that you reinstall using the MSI package Windows 64-bit (8.1+) (MSI) msi-download-link . The download page is here .

Once the installation is complete, reboot your system.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM