Database "mem:testdb" not found, either pre-create it or allow remote database creation (not recommended in secure environments) [90149-200] 90149/90149
Database "mem:testdb" not found, either pre-create it or allow remote database creation (not recommended in secure environments) [90149-200] 90149/90149
h2 데이터베이스 테스트할 때 위의 오류가 발생했다. 하지만 구글링으로 오류 해결
❗build.gradle 의존성 삭제
✔️수정 전
runtimeOnly 'com.h2database:h2'
✔️수정 후
runtimeOnly 'com.h2database:h2'
지우기
runtimeOnly 'com.h2database:h2'
❗application.properties 추가
✔️추가
spring.datasource.url=jdbc:h2:mem:testdb'
spring.datasource.url=jdbc:h2:mem:testdb'
.
.
📝참고자료
Author And Source
이 문제에 관하여(Database "mem:testdb" not found, either pre-create it or allow remote database creation (not recommended in secure environments) [90149-200] 90149/90149), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://velog.io/@qmfpsp/Database-memtestdb-not-found-either-pre-create-it-or-allow-remote-database-creation-not-recommended-in-secure-environments-90149-200-9014990149저자 귀속: 원작자 정보가 원작자 URL에 포함되어 있으며 저작권은 원작자 소유입니다.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)