From 3f41dcc6d067ad745cf60d370d873ba9c07e9dce Mon Sep 17 00:00:00 2001 From: "chen.ma" Date: Fri, 23 Sep 2022 22:38:05 +0800 Subject: [PATCH] Change h2 persistent directory --- hippo4j-server/src/main/resources/application-h2.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hippo4j-server/src/main/resources/application-h2.properties b/hippo4j-server/src/main/resources/application-h2.properties index 999857c8..b4bdea1c 100644 --- a/hippo4j-server/src/main/resources/application-h2.properties +++ b/hippo4j-server/src/main/resources/application-h2.properties @@ -4,6 +4,6 @@ hippo4j.database.init_enable=true hippo4j.database.init_script=sql-script/h2/hippo4j_manager.sql spring.datasource.driver-class-name=org.h2.Driver -spring.datasource.url=jdbc:h2:file:/Users/single/Desktop/temp/h2_hippo4j_test_file;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;MODE=MYSQL; +spring.datasource.url=jdbc:h2:file:{your storage address}/h2_hippo4j_test_file;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;MODE=MYSQL; spring.datasource.username=sa spring.datasource.password=sa