Database not found, and IFEXISTS=true, so we cant auto-create it

后端 未结 17 3022
不思量自难忘°
不思量自难忘° 2020-12-15 06:20

I am getting error after opening the h2 database console. I enter database name but it is showing database not found error:

Database \"C:/Users/Barlek

17条回答
  •  青春惊慌失措
    2020-12-15 07:04

    If you are dealing with the Spring Boot project, please change the JDBC URL jdbc:h2:~/test to jdbc:h2:mem:testdb in the login page, which is the default URL configured by Spring Boot.

提交回复
热议问题