deason 1 ano atrás
pai
commit
d844e26c6c
1 arquivos alterados com 6 adições e 4 exclusões
  1. 6 4
      src/main/resources/application.properties

+ 6 - 4
src/main/resources/application.properties

@@ -9,11 +9,13 @@ spring.freemarker.request-context-attribute=request
 spring.freemarker.settings.number_format=#
 server.servlet.session.timeout=60m
 # h2 config
-spring.datasource.url=jdbc:h2:file:./db/tool;MODE=MYSQL;DATABASE_TO_UPPER=false
-spring.jpa.hibernate.ddl-auto=update
-spring.h2.console.settings.web-allow-others=true
-spring.h2.console.enabled=true
+spring.datasource.url=jdbc:h2:file:./db/tool;MODE=MYSQL;AUTO_SERVER=TRUE;DATABASE_TO_UPPER=false
+#spring.datasource.username=sa
+#spring.datasource.password=123456
 spring.h2.console.path=/h2
+spring.h2.console.enabled=true
+spring.h2.console.settings.web-allow-others=true
+spring.jpa.hibernate.ddl-auto=update
 # examcloud config
 examcloud.tool.dataDir=files
 examcloud.server.rootOrgId=0