[MongoDB] 설치, 서버, 파일 가져오기
mongoDB
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/
설치
brew update
brew tap mongodb/brew
brew install [email protected]
서버 키고 끄기
brew services start [email protected]
brew services stop [email protected]
백그라운드 프로세스로 수동 실행
mongo —config /usr/local/etc/mongod.conf —fork
json 파일 가져오기
cd 폴더 위치
mongoimport -d testDB —collection restaurants restaurants.json
Author And Source
이 문제에 관하여([MongoDB] 설치, 서버, 파일 가져오기), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://velog.io/@yoonene/MongoDB-설치-서버-파일-가져오기저자 귀속: 원작자 정보가 원작자 URL에 포함되어 있으며 저작권은 원작자 소유입니다.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)