This is my first spring boot application. I am trying to connect the database using h2-console
. But when I trying to do it I am getting an error. The error is,
Database "/Users/MyName/test" not found, either pre-create it or allow remote database creation (not recommended in secure environments) [90149-200] 90149/90149 (Help)
I have shown h2-conosle
image above. I did not use any code in application.property
file. As well as I have used below mentioned dependency also.
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
First My port was 8080
Then also this not worked. After that, the port has been changed to 8082
. even it not working.