|
|
@ -6,10 +6,10 @@ spring: |
|
|
|
druid: |
|
|
|
db-type: com.alibaba.druid.pool.DruidDataSource |
|
|
|
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy |
|
|
|
url: jdbc:log4jdbc:mysql://${DB_HOST:47.111.78.178}:${DB_PORT:3306}/${DB_NAME:magang_acs}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true |
|
|
|
url: jdbc:log4jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:magang_acs}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true |
|
|
|
# url: jdbc:log4jdbc:mysql://${DB_HOST:192.168.81.252}:${DB_PORT:3306}/${DB_NAME:ndxy3_acs}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true |
|
|
|
username: ${DB_USER:root} |
|
|
|
password: ${DB_PWD:P@ssw0rd} |
|
|
|
password: ${DB_PWD:password} |
|
|
|
# password: ${DB_PWD:Root.123456} |
|
|
|
# 初始连接数 |
|
|
|
initial-size: 5 |
|
|
@ -54,7 +54,7 @@ spring: |
|
|
|
multi-statement-allow: true |
|
|
|
redis: |
|
|
|
#数据库索引 |
|
|
|
database: ${REDIS_DB:15} |
|
|
|
database: ${REDIS_DB:9} |
|
|
|
host: ${REDIS_HOST:127.0.0.1} |
|
|
|
port: ${REDIS_PORT:6379} |
|
|
|
password: ${REDIS_PWD:} |
|
|
|