반응형
H2 버전에서 다른 H2 버전을 위해서 uninstall하고 재설치했더니,
데이터 베이스가 만들어지지 않는 상황이 나타났다.
당황하지말고, "언급된 디렉토리 경로"를 가면,
1. 이전에 생성한 DB들이 있는데 해당 DB를 없애면 된다.
2. 1번의 방법으로 해도 여전히 나온다라면, 직접 해당 DB를 만들어주면된다.
" {{DB명}}.mv.db " 파일을 직접 만들어주면 된다.
Ex. DB명 - ssue ==> ssue.mv.db
이렇게 한 후 "jdbc:h2:~/{{DB명}}"을 h2 콘솔을 통해서 접속하면 된다.
728x90
반응형