|
|
@@ -96,15 +96,14 @@ spring: |
|
|
|
validation-query: SELECT 'x' FROM DUAL |
|
|
|
validation-query-timeout: 10 |
|
|
|
third: |
|
|
|
# 使用阿里的Druid连接池 |
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver |
|
|
|
type: com.alibaba.druid.pool.DruidDataSource |
|
|
|
driver-class-name: org.mariadb.jdbc.Driver |
|
|
|
enableDrds: true |
|
|
|
dialect: org.hibernate.dialect.MySQL5InnoDBDialect |
|
|
|
# 填写你数据库的url、登录名、密码和数据库名 allowMultiQueries=true nj-cdb-m52p6dj5.sql.tencentcdb.com 63865 !@#$%QWERTasdfg hypt_smp |
|
|
|
jdbc-url: jdbc:mysql://159.75.82.245:3306/etc_unified_order?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true&useSSL=false |
|
|
|
username: ${MYSQL_SERVER_USER:root} |
|
|
|
password: ${MYSQL_SERVER_PASSWORD:houyi..} |
|
|
|
jdbc-url: jdbc:mariadb://192.168.101.201:3306/etc_unified_order?useSSL=false&useUnicode=yes&characterEncoding=UTF-8&allowPublicKeyRetrieval=true&serverTimezone=UTC |
|
|
|
username: root |
|
|
|
password: Qtzl@qwe147 |
|
|
|
# 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙 |
|
|
|
filters: stat,wall,slf4j |
|
|
|
initial-size: 5 |
|
|
@@ -126,9 +125,9 @@ spring: |
|
|
|
enableDrds: true |
|
|
|
dialect: org.hibernate.dialect.MySQL5InnoDBDialect |
|
|
|
# 填写你数据库的url、登录名、密码和数据库名 allowMultiQueries=true nj-cdb-m52p6dj5.sql.tencentcdb.com 63865 !@#$%QWERTasdfg hypt_smp |
|
|
|
jdbc-url: jdbc:mysql://159.75.82.245:3306/etc-user-operate?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true&useSSL=false |
|
|
|
jdbc-url: jdbc:mysql://192.168.100.186:3306/etc-user-operate?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true&useSSL=false |
|
|
|
username: ${MYSQL_SERVER_USER:root} |
|
|
|
password: ${MYSQL_SERVER_PASSWORD:houyi..} |
|
|
|
password: ${MYSQL_SERVER_PASSWORD:f7Yh@eP6mgzS#} |
|
|
|
# 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙 |
|
|
|
filters: stat,wall,slf4j |
|
|
|
initial-size: 5 |
|
|
@@ -143,6 +142,54 @@ spring: |
|
|
|
time-between-eviction-runs-millis: 50000 |
|
|
|
validation-query: select 1 |
|
|
|
validation-query-timeout: 10 |
|
|
|
# third: |
|
|
|
# # 使用阿里的Druid连接池 |
|
|
|
# driver-class-name: com.mysql.cj.jdbc.Driver |
|
|
|
# type: com.alibaba.druid.pool.DruidDataSource |
|
|
|
# enableDrds: true |
|
|
|
# dialect: org.hibernate.dialect.MySQL5InnoDBDialect |
|
|
|
# # 填写你数据库的url、登录名、密码和数据库名 allowMultiQueries=true nj-cdb-m52p6dj5.sql.tencentcdb.com 63865 !@#$%QWERTasdfg hypt_smp |
|
|
|
# jdbc-url: jdbc:mysql://159.75.82.245:3306/etc_unified_order?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true&useSSL=false |
|
|
|
# username: ${MYSQL_SERVER_USER:root} |
|
|
|
# password: ${MYSQL_SERVER_PASSWORD:houyi..} |
|
|
|
# # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙 |
|
|
|
# filters: stat,wall,slf4j |
|
|
|
# initial-size: 5 |
|
|
|
# max-active: 100 |
|
|
|
# # 配置一个连接在池中最小生存的时间,单位是毫秒 |
|
|
|
# minEvictableIdleTimeMillis: 300000 |
|
|
|
# max-wait: 60000 |
|
|
|
# min-idle: 5 |
|
|
|
# testWhileIdle: true |
|
|
|
# testOnBorrow: false |
|
|
|
# testOnReturn: false |
|
|
|
# time-between-eviction-runs-millis: 50000 |
|
|
|
# validation-query: select 1 |
|
|
|
# validation-query-timeout: 10 |
|
|
|
# fourth: |
|
|
|
# # 使用阿里的Druid连接池 |
|
|
|
# driver-class-name: com.mysql.cj.jdbc.Driver |
|
|
|
# type: com.alibaba.druid.pool.DruidDataSource |
|
|
|
# enableDrds: true |
|
|
|
# dialect: org.hibernate.dialect.MySQL5InnoDBDialect |
|
|
|
# # 填写你数据库的url、登录名、密码和数据库名 allowMultiQueries=true nj-cdb-m52p6dj5.sql.tencentcdb.com 63865 !@#$%QWERTasdfg hypt_smp |
|
|
|
# jdbc-url: jdbc:mysql://159.75.82.245:3306/etc-user-operate?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true&useSSL=false |
|
|
|
# username: ${MYSQL_SERVER_USER:root} |
|
|
|
# password: ${MYSQL_SERVER_PASSWORD:houyi..} |
|
|
|
# # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙 |
|
|
|
# filters: stat,wall,slf4j |
|
|
|
# initial-size: 5 |
|
|
|
# max-active: 100 |
|
|
|
# # 配置一个连接在池中最小生存的时间,单位是毫秒 |
|
|
|
# minEvictableIdleTimeMillis: 300000 |
|
|
|
# max-wait: 60000 |
|
|
|
# min-idle: 5 |
|
|
|
# testWhileIdle: true |
|
|
|
# testOnBorrow: false |
|
|
|
# testOnReturn: false |
|
|
|
# time-between-eviction-runs-millis: 50000 |
|
|
|
# validation-query: select 1 |
|
|
|
# validation-query-timeout: 10 |
|
|
|
|
|
|
|
|
|
|
|
common: |