spring.datasource.url=jdbc:h2:mem:test;MODE=MySQL; spring.datasource.driver-class-name=org.h2.Driver spring.datasource.username= spring.datasource.password= # We add the MySQL Dialect so that it understands and generates the query based on MySQL spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect