일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- spring
- 제이피큐엘쿼리
- 데이터베이트h2
- 임베디드타입
- MySqlType
- sql
- JPA Hint & Lock
- JPAproxy
- dockercmd
- JPA값타입
- springbootH2
- jpa
- JPA프록시
- 에이치투데이터베이스
- springboot기본설정
- httppie
- 스프링부트
- jpqlquery
- javageneric
- 스프링부트기본설정
- gitinitial
- embededtype
- 자바제너릭
- Open EntityManager
- JDBC connection pool
- 이해와 원리
- Git
- JPAmapping
- springbootproxy
- OSIV
Archives
- Today
- Total
빡코
[MongoDB]설치시 에러 조치하기 본문
몽고DB를 C:\node 위치에서 설치하였다.
설치후 port 번호를 재설정 하였을때 아래와 같은 couldn't connet to server ~ 에러가 발생했다.
C:\Users\dudtj>mongo --port 포트주소
MongoDB shell version v4.2.2
connecting to: mongodb://아이피주소/?compressors=disabled&gssapiServiceName=mongodb
2019-12-28T14:34:04.774+0900 E QUERY [js] Error: couldn't connect to server 아이피주소, connection attempt failed: SocketException: Error connecting to 127.0.0.1:27017 :: caused by :: ��� ��ǻ�Ϳ��� ������ �ź������Ƿ� �������� ���߽��ϴ�. :
connect@src/mongo/shell/mongo.js:341:17
@(connect):2:6
2019-12-28T14:34:04.796+0900 F - [main] exception: connect failed
2019-12-28T14:34:04.799+0900 E - [main] exiting with code 1
원인
MongDB 하위에 data 폴더와 log, db 폴더가 생성되지 않았기 때문에 발생함
조치
이렇게 폴더를 생성해 주고
설치된 디렉토리로 이동후 명령어를 입려하면
C:\node\bin>mongod.exe
실행완료
'database' 카테고리의 다른 글
[MySql] 기본 문법 (0) | 2023.12.26 |
---|---|
오라클 관리자 계정 확인하기 +환경변수 설정 + HR 계정 활성화 (0) | 2020.01.30 |
[MongoDB] 실행 및 기본 명령어 (0) | 2019.12.28 |