Programmers/인프런
H2 데이터베이스 설치
sunkite
2025. 2. 17. 21:00
728x90
반응형
1. https://www.h2database.com/html/main.html 접속 후 다운로드
저는 All Platforms로 다운 받았어요
2. 압축 해제 후 설치경로 확인
3. cmd 실행하여
설치 경로까지 접근 후 h2.bat 실행
4. 홈 디렉토리에서 ls 조회시
test.mv.db가 생성되었는지 확인
5. H2 콘솔 싱행되면
url을 localhost로 변경
JDBC URL을 jdbc:h2:tcp://localhost/~/test 로 변경
6. 연결
728x90
반응형