Mac環境下でeclipse、Spring Bootうを使用して学習用にh2でインメモリを使用したいのですが
接続がうまくいきません。
解決方法を教えて下さい。
エラー内容
Database "mem:test" not found, either pre-create it or allow remote database creation (not recommended in secure environments) [90149-200] 90149/90149 (ヘルプ)
src/main/resource/application.properties 内に記述
spring.h2.console.enabled=true #spring.datasource.driver-class-name=org.h2.Driver spring.datasource.url=jdbc:h2:mem:test
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。