application-dbDev.yml 1.2 KB
Newer Older
1 2
logging:
  level:
3
    cn.zhxu.bs: debug
4

liu_cheng_jiu's avatar
liu_cheng_jiu committed
5 6 7 8 9 10 11 12 13 14 15 16
pagehelper:
  helperDialect:  mysql
  reasonable: true
  supportMethodsArguments:  true
  params: count=countSql

spring:
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8
  datasource:
    druid:
Mindfaker's avatar
Mindfaker committed
17
      url:  jdbc:mysql://39.101.222.130:3306/class_work?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false
liu_cheng_jiu's avatar
liu_cheng_jiu committed
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
      driver-class-name:  com.mysql.jdbc.Driver
      username:  root
      password:  Engine123s56..
      initial-size:  5
      max-active:  10
      min-idle:  5
      max-wait:  60000
      pool-prepared-statements:  true
      max-pool-prepared-statement-per-connection-size:  20
      validation-query:  SELECT 1 FROM DUAL
      test-on-borrow:  false
      test-on-return:  false
      test-while-idle:  true
      time-between-eviction-runs-millis:  60000
      filters:  stat,wall
      connection-init-sqls: set names utf8mb4
  cache:
    type: redis
  redis:
    host: 39.101.222.130
    password: Engine1314
    port: 6379
    timeout: 60s
    database: 14
    jedis:
      pool:
        max-active: -1
        max-wait: -1ms
        max-idle: 500
        min-idle: 50