springboot 2.3.0 while connecting to h2 database

You can fix this by setting the spring.datasource.url property like so:

spring.datasource.url=jdbc:h2:mem:testdb

Prior to Spring Boot 2.3.0-RELEASE this was the default, but I’m not sure where it’s set. As of 2.3.0-RELEASE, the schema looks to be a randomly generated GUID.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)