1. 실행목록 확인

ellord@ellords-Mac-mini 57dbBackup % brew services list
Name                  Status   User   File
dovecot               none     root   
httpd                 error  1 root   ~/Library/LaunchAgents/homebrew.mxcl.httpd.plist
mariadb               started  ellord ~/Library/LaunchAgents/homebrew.mxcl.mariadb.plist
mongodb-community@4.4 started  ellord ~/Library/LaunchAgents/homebrew.mxcl.mongodb-community@4.4.plist
php                   none

 

2. 중지

 

ellord@ellords-Mac-mini 57dbBackup % brew services stop mongodb-community@4.4
Stopping `mongodb-community@4.4`... (might take a while)
==> Successfully stopped `mongodb-community@4.4` (label: homebrew.mxcl.mongodb-community@4.4)

 

 

3. 시작

 

ellord@ellords-Mac-mini 57dbBackup % brew services start mongodb-community@4.4
==> Successfully started `mongodb-community@4.4` (label: homebrew.mxcl.mongodb-community@4.4)

 

 

4. 접속확인

ellord@ellords-Mac-mini 57dbBackup % mongo
MongoDB shell version v4.4.29
connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
Implicit session: session { "id" : UUID("80138246-6473-4786-b772-c9d2aaf94492") }
MongoDB server version: 4.4.29
---
The server generated these startup warnings when booting: 
        2025-10-31T10:02:55.807+09:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted
---
> db
test
>

 

'MongoDB' 카테고리의 다른 글

macos 에서 mongodb 원격접속  (0) 2025.10.31
블로그 이미지

엘로드넷

,