123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- server.port=94
- logging.config=classpath:zlogback.xml
- mybatis.mapper-locations = classpath:mappers/*/*.xml
- mybatis.type-aliases-package = com.inter.beans
- mybatis.config-location = classpath:/mybatis-config.xml
- spring.datasource.primary.type=com.alibaba.druid.pool.DruidDataSource
- spring.datasource.primary.driver-class-name=com.mysql.jdbc.Driver
- spring.datasource.primary.username = XdLGF3mJE0I5lu9PjoKjsg==
- spring.datasource.primary.password = +QlNYzTklPdli3u64zVdOSX9j7RVTZSh
- spring.datasource.primary.url=jdbc:mysql://47.111.67.16:3307/cbkj_interface?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
- spring.datasource.slave.names=slave1
- ###1
- spring.datasource.slave1.type=com.alibaba.druid.pool.DruidDataSource
- spring.datasource.slave1.driver-class-name=com.mysql.jdbc.Driver
- spring.datasource.slave1.username = XdLGF3mJE0I5lu9PjoKjsg==
- spring.datasource.slave1.password = +QlNYzTklPdli3u64zVdOSX9j7RVTZSh
- spring.datasource.slave1.url=jdbc:mysql://47.111.67.16:3307/cbkj_web_api?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
- #2
- #spring.datasource.slave2.type=com.alibaba.druid.pool.DruidDataSource
- #spring.datasource.slave2.driver-class-name=com.mysql.jdbc.Driver
- #spring.datasource.slave2.username=root
- #spring.datasource.slave2.password=123456
- #spring.datasource.slave2.url=jdbc:mysql://172.20.236.126:3306/cbkj_db?useUnicode=true&characterEncoding=UTF-8&useSSL=false
- spring.datasource.common=yes
- spring.datasource.common.initialSize=1
- spring.datasource.common.minIdle=5
- spring.datasource.common.maxActive=50
- spring.datasource.common.maxWait=60000
- spring.datasource.common.timeBetweenEvictionRunsMillis=60000
- spring.datasource.common.minEvictableIdleTimeMillis=300000
- spring.datasource.common.validationQuery=SELECT 1 FROM DUAL
- spring.datasource.common.testWhileIdle=true
- spring.datasource.common.testOnBorrow=false
- spring.datasource.common.testOnReturn=false
- spring.datasource.common.poolPreparedStatements=true
- spring.datasource.common.filters=stat, wall
- spring.datasource.common.maxPoolPreparedStatementPerConnectionSize=20
- spring.datasource.common.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500
- spring.datasource.common.useGlobalDataSourceStat=true
- spring.datasource.common.removeAbandoned=true
- spring.datasource.common.removeAbandonedTimeout=300
- spring.datasource.common.logAbandoned=false
- root.encryptor.password = ::!qb#9467@
- ## redis����
- spring.redis.host = 192.168.2.80
- spring.redis.port = 6379
- spring.redis.password = cbkj123!@#
|