|
|
@ -8,7 +8,7 @@ spring: |
|
|
|
druid: |
|
|
|
db-type: com.alibaba.druid.pool.DruidDataSource |
|
|
|
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy |
|
|
|
url: jdbc:log4jdbc:mysql://${DB_HOST:192.168.46.225}:${DB_PORT:3306}/${DB_NAME:hl_one_mes}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true&allowPublicKeyRetrieval=true&useSSL=false |
|
|
|
url: jdbc:log4jdbc:mysql://${DB_HOST:localhost}:${DB_PORT:3306}/${DB_NAME:xugong_lms}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true&allowPublicKeyRetrieval=true&useSSL=false |
|
|
|
username: ${DB_USER:root} |
|
|
|
password: ${DB_PWD:123456} |
|
|
|
#password: ${DB_PWD:Root.123456} |
|
|
@ -58,7 +58,7 @@ spring: |
|
|
|
redis: |
|
|
|
#数据库索引 |
|
|
|
database: ${REDIS_DB:6} |
|
|
|
host: ${REDIS_HOST:192.168.46.225} |
|
|
|
host: ${REDIS_HOST:127.0.0.1} |
|
|
|
#host: ${REDIS_HOST:localhost} |
|
|
|
port: ${REDIS_PORT:6379} |
|
|
|
password: ${REDIS_PWD:} |
|
|
|