I have followed tutorials and checked StackOverflow for solutions to this, but found nothing that works. What should I do to make H2 file-based without getting errors? Here is my property file:
spring.h2.console.enabled=true spring.jpa.database=h2 spring.datasource.url=jdbc:h2:file:~/test I then get org.h2.jdbc.JdbcSQLInvalidAuthorizationSpecException: Wrong user name or password [28000-199] at org.h2.message.DbException.getJdbcSQLException(DbException.java:459) ~[h2-1.4.199.jar:1.4.199] I don't know why I have to add user name and password when this was not required without the file-based URL. I have tried to add the user name and password, but it results in other errors. -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/c01c232b-535b-48bc-ba2e-ab304bf8c93c%40googlegroups.com.
