본문 바로가기
데이터베이스

h2-console 데이터베이스 파일 생성

by 매트(Mat) 2020. 9. 10.

Database "~/test" not found, and IFEXISTS=true, so we cant auto-create it [90146-199]

Database "~/test" not found, and IFEXISTS=true, so we cant auto-create it [90146-199]

이런 에러가 뜬다면 데이터베이스 파일이 없어서 접속이 안되는 것입니다!

해결법은

jdbc:h2:~/test

로 파일을 생성한다음 다시 연결해주면 됩니다.

2

JDBC URL: jdbc:h2:tcp://localhost/~/test

댓글