mirror of https://github.com/longtai-cn/hippo4j
Support h2 database (#665)
* Support h2 database * update application.properties * Support h2 database * h2数据库pull/664/merge
parent
8661f91c9f
commit
cf38295bfd
@ -0,0 +1,6 @@
|
||||
spring.datasource.driver-class-name=org.h2.Driver
|
||||
spring.datasource.url=jdbc:h2:mem:hippo4j_manager;DB_CLOSE_DELAY=-1;MODE=MySQL;
|
||||
spring.datasource.username=sa
|
||||
spring.datasource.password=sa
|
||||
spring.datasource.schema=classpath:sql-script/h2/hippo4j_manager.sql
|
||||
|
@ -0,0 +1,5 @@
|
||||
### Data source customization section
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/hippo4j_manager?characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=123456
|
Loading…
Reference in new issue