1. 설치 링크(9/4 기준 6.0 버전)
www.mongodb.com/try/download/enterprise
MongoDB Enterprise Server Download
Download MongoDB Enterprise Server, which provides advanced security and performance options for the most demanding apps. Use for free for development.
www.mongodb.com
설치는 따라가면 되고,
Compass도 사용할 것이기 때문에 체크한 것 그대로 넘어갔다.
2. 환경변수 설정하기
3. mongo.exe가 없음
설정하고 cmd창에 mongod를 치면 뭐가 와글와글 뜨는 것을 확인할 수 있다.
그런데 다른 블로그에서 안내하는 것처럼 mongo를 치면 없다고 뜬다.
당연하다. 그 경로에는 mongo.exe가 없다.
결론적으로 mongosh를 깔아야 한다. 몽고DB 쉘이다.
https://www.mongodb.com/try/download/shell?jmp=docs
MongoDB Shell Download
The MongoDB Shell is a modern command-line experience, full with features to make it easier to work with your database. Free download. Try now!
www.mongodb.com
mongosh를 실행하여,
use db이름 등 기본적인 명령어를 테스트해 본다.
'정보' 카테고리의 다른 글
BeautifulSoup로 이미지 저장하기 (0) | 2022.09.24 |
---|---|
Python과 몽고DB 연결 및 조회하기, 값 추출하기 (0) | 2022.09.04 |
MongoDB CSV, JSON파일 import하기/파일깨짐현상 (0) | 2022.09.04 |
Dialogflow와 카카오톡 챗봇 연동(구름 IDE,챗봇 스킬) (0) | 2022.08.16 |
Dialogflow api 사용하기(파이썬/Python) (0) | 2022.08.16 |
댓글