Blame view

src/main/resources/application.properties 1.32 KB
fangyeqing authored
1 2 3
server.port=8090

#MySQL
fangyeqing authored
4 5 6 7
#spring.datasource.url=jdbc:mysql://localhost:3306/hanhe_test?useUnicode=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=round&autoReconnect=true
#spring.datasource.username=root
#spring.datasource.password=fyqmysql
Yeqing Fang authored
8 9 10 11 12 13 14 15 16
# debug sql
logging.level.org.hibernate.SQL=DEBUG
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
spring.jpa.properties.hibernate.show_sql=true
spring.jpa.properties.hibernate.use_sql_comments=true
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.type=trace

# datasource
zhaoyue authored
17 18 19
spring.datasource.url=jdbc:mysql://db.hanhezy.com:4096/hanhe_test?useUnicode=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=round&autoReconnect=true
spring.datasource.username=hanhe
spring.datasource.password=HANhetest2016
fangyeqing authored
20 21 22 23
spring.datasource.validation-query=SELECT 1
spring.datasource.test-on-borrow=false
spring.datasource.test-while-idle=true
spring.datasource.time-between-eviction-runs-millis=18800
zhaoyue authored
24 25
spring.jpa.database-platform=org.hibernate.dialect.MySQL5Dialect
spring.jpa.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
fangyeqing authored
26 27 28

#Redis
spring.redis.host=127.0.0.1
zhaoyue authored
29
#spring.redis.password=foobared
fangyeqing authored
30 31 32
#spring.redis.host=r-m5e7cedd3124afd4.redis.rds.aliyuncs.com
#spring.redis.password=r-m5e7cedd3124afd4:XIkaiLURedis2016
zhaoyue authored
33
spring.redis.port=6379
fangyeqing authored
34